old kernel packages.

Derek Broughton derek at pointerstop.ca
Fri May 1 16:24:54 UTC 2009


Steve wrote:

> On Fri, 01 May 2009 16:42:13 +0300
> David Harel <hareldvd at gmail.com> wrote:
> 
>> Greetings.
>> 
>> Is it OK to remove older kernel packages such as
>> linux-image-NNNN-generic linux-headers and if so, what other packages
>> can I remove of older versions?
>> 
> Yes it’s OK.  If you remove them with Synaptic it will remove the entries
> from Grub as well. I normally leave two versions on my machines, the
> newest and the previous, just in case.

If I wanted to remove all the packages related to kernel 2.6.24-15, for 
instance, I'd use:

> sudo aptitude purge ~i2.6.24-15






More information about the ubuntu-users mailing list