[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
https://blueprints.launchpad.net/ubuntu/+spec/desktop-q-clean-old-
kernels

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"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/923876/+attachment/3340659/+files/removeoldkernels.sh

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/923876

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

Status in “apt” package in Ubuntu:
  Confirmed

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.
  Expected.
  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.
  https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-lts-upgrades

  There is a new Quantal blueprint regarding the subject.
  https://blueprints.launchpad.net/ubuntu/+spec/desktop-q-clean-old-kernels

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/923876/+subscriptions




More information about the foundations-bugs mailing list