Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

So how do I do it?
I Can't find sypaptic, in where I remember that I could "lock" certain packages to ensure that they kept their current version.

share|improve this question
Synaptic Package Manager is not installed by default any more but you can install it through Ubuntu Software Centre and it still lets you lock a package. – grahammechanical Jan 21 '12 at 15:31
up vote 1 down vote accepted

Use aptitude. sudo aptitude hold linux-headers-generic linux-image-generic

this updates the sources and does an upgrade like synaptic/apt-get dist-upgrade would sudo aptitude update && sudo aptitude full-upgrade and with the first command your kernel will be held and ignored

share|improve this answer
This seems to work when updating from the terminal. The graphical Update manager however seems to ignore holdback packages. Is that correct? – Industrial Jan 24 '12 at 8:15
yes, only aptitude will know you held it back.. bummer I know. – duffydack Jan 24 '12 at 15:33

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.