Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.