Comment 3 for bug 420837

Revision history for this message
Vikram Dhillon (dhillon-v10) wrote : Re: [Bug 420837] Re: computer-janitor only deletes old linux headers. Not modules/image.

Sorry, I miss understood your questions, I really don't think that there
is a way in computer janitor to accomplish this task, but you can go in
terminal and type

uname -r

and then go to Synaptic Package Manager and type the output of the
command in quick search and you will get the kernel in the search, then
right click and mark for complete removal. This will automatically
update your grub and leave nothing behind, you might have to do a sudo
apt-get autoremove just in case

Hope that solves your problem,
Vikram

On Sat, 2009-08-29 at 00:05 +0000, Noel J. Bergman wrote:
> Vikram, the janitor didn't offer to delete any of the recent kernels (-5
> and later). I had to purge them by hand. When should it?
>
> Also, I'd like to see at least a purge option so that it doesn't leave
> "rc" droppings; what's the point if I have to fix things afterwards?
>