[Bug 923876] Re: FR: Limit and clean-up kernel images and headers automatically in LTS

Tim Edwards 923876 at bugs.launchpad.net
Tue Sep 25 08:05:23 UTC 2012

I think this is being worked on for quantal, see

In the meantime here's a script that calls apt-get to remove all but the
current kernel and the 1 most recent before that.

** Attachment added: "removeoldkernels.sh"

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.

  FR: Limit and clean-up kernel images and headers automatically in LTS

Status in “apt” package in Ubuntu:

Bug description:
  Question #186146 is one among multiple where user unintentionally collects multiple kernel images in particular with LTS. There is no hint from relevant package management application GUIs which advise to clean up those images. With future LTS support of five years the issue presumable will extend.
  After installation of a newer kernel image ask the user if previous kernel images should be removed.
  Checkbox: yes - no
  If yes, offer a list of installed kernel images, don't list the one booted. Advise to keep at least the last functional one.
  Also remove -headers.

  Perhaps an additional consideration for the blueprint.

  There is a new Quantal blueprint regarding the subject.

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list