Distro-provided mechanism to clean up old kernels

Martin Pitt martin.pitt at ubuntu.com
Mon Feb 20 14:27:33 UTC 2012

Tim Edwards [2012-02-17 11:49 +0100]:
> On Fri, Feb 17, 2012, at 07:23 AM, Martin Pitt wrote:
> > linux-headers-* is already covered by apt-get autoremove, which is
> > good. Perhaps we can mark older kernels as auto-removable as well, so
> > that without any other tools you at least have one command to clean
> > them up all?
> Are you sure about this? I did a test and I don't think that autoremove
> removes the linux-headers-*:

I'm 100% sure that this worked in the past, but apparently that
changed at some point. Indeed autoremove does not seem to do this any
more now.

Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

More information about the ubuntu-devel mailing list