Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My machine resides in a corporate domain and have CFEngine installed, for automated configuration and maintenance purposes. Configuration is pulled automatically into few thousand computers from one place, and my machine is just one of those.

I'm root and can change the system in the way I want, but don't want to touch CFEngine files at all.


Adobe recently released a new Flash version (11.2) that fixes some security issues, but I have version 11.0r1. After new version release Chrome won't automatically execute Flash plugin, and shows the message every time I visit the page with a flash content:

Adobe Flash Player was blocked because it is out of date.

Along with message there are two buttons, Run this time and Update plug-in.... Both buttons works as expected, and update works as well. But after some short period of time new Flash plugin is automatically removed from the machine and old Flash package is installed back, because of CFEngine, where old Flash package is marked as mandatory.


Is it possible to tell apt that some particular packages are non-removable, or non-installable, so CFEngine will fail installing old Flash package while will succeed with others?

Or any other ways of permanently updating Flash?

share|improve this question
up vote 2 down vote accepted

You can "hold" a package in Ubuntu.

Holding a package basically means you're telling the package manager to keep the current version no matter what. This is useful if more recent version of a currently working program breaks after an update.

You can do it via Synaptic or on the command-line via apt/dpkg. The command-line version to hold a package is:

echo package_name hold | dpkg --set-selections

Ubuntu Community Documentation has a more complete guide explaining how to pin or hold packages.

Answer above is ripped from here. Following solved the problem:

echo adobe-flashplugin hold | dpkg --set-selections
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.