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.

  • 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

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

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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