[ubuntu-us-mn] Removing old kernels

Fred H Olson fholson at cohousing.org
Thu Sep 5 16:33:11 UTC 2013


Thanks Tony.

I've been doing upgrades via the Ubuntu Update Manager
I tried:
sudo apt-get autoremove
and it removed:
Removing linux-headers-3.2.0-25-generic ...
Removing linux-headers-3.2.0-25 ...

which is not the oldest (third oldest).

It did not seem to touch the other 23 old versions.

Subsequent uses of
apt-get autoremove
did not seem to remove anything

Fred

On Thu, 5 Sep 2013, Tony Yarusso wrote:

> Yeah, it's the headers that kill your inodes.  You should never
> manually remove files, however.  There are packages for all of those,
> just like the kernels, eg. linux-headers-3.2.0-39 and
> linux-headers-3.2.0-39-generic (note that there are two for each
> kernel version).  Just remove those packages and you'll be fine.
>
> Assuming your kernels (and headers) are being installed via an
> upgraded metapackage, the easiest way to remove old ones is 'apt-get
> autoremove'.
>
>  - Tony
>
> --
> ubuntu-us-mn mailing list
> ubuntu-us-mn at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-mn
>

--
Fred H. Olson  Minneapolis,MN 55411  USA        (near north Mpls)
     Email:        fholson at cohousing.org      612-588-9532
My Link Pg: http://fholson.cohousing.org         My org:
Communications for Justice -- Free, superior listserv's w/o ads




More information about the ubuntu-us-mn mailing list