Updater can't update kernel due to disk space

Colin Law clanlaw at gmail.com
Thu Jan 15 14:45:32 UTC 2015

On 15 January 2015 at 14:37, Dustin Kirkland <kirkland at canonical.com> wrote:
> ...
> I have Ubuntu Server instances in the Cloud, with very tiny root disks, one
> of which has run for several years, autoupdating, and accumulated 37(!!)
> kernels, which filled up its 8GB root partition.
> Around that time a few years ago, I wrote the "purge-old-kernels" command
> (http://manpg.es/purge-old-kernels), which does a very effective job of
> saving your current kernel, and one other known working kernel, while
> deleting the rest.  I was working on getting that into the distro (and out
> of the bikeshed package), but Adam Conrad told me that apt would fix this,
> itself.  I've CC'd Adam.  Can you advise us, Adam?

As from 14.04 apt-get autoremove should remove old kernels except for
current and most recent.


More information about the Ubuntu-devel-discuss mailing list