Updater can't update kernel due to disk space

Adam Conrad adconrad at ubuntu.com
Thu Jan 15 15:12:35 UTC 2015

On Thu, Jan 15, 2015 at 08:37:00AM -0600, Dustin Kirkland wrote:
> 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?

apt does do this itself (via 'apt-get autoremove'), the missing puzzle
piece is that none of the friendly upgraders (like update-manager) do
automatic autoremove runs.  It's probably time to revisit this policy.

I can see several ways "power users" can shoot themselves in the foot
with autoremove, but no way that "normal people" can, and I'm not sure
catering to people who think they're clever doing unclever things is
the right default.

CCing Michael for opinions.

... Adam

More information about the Ubuntu-devel-discuss mailing list