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

Steve Langasek steve.langasek at canonical.com
Sat May 11 02:58:22 UTC 2013


> On Quantal, this does not appear to solve the problem described in bug
#1131512.

If you use update-manager to install updates, there is a remaining issue
with aptdaemon causing all updates to be marked as manually installed,
preventing apt's autoremoval from doing the right thing.  (This may be
fixed now in raring, I'm not sure and don't have the bug number in front
of me; see the bug list for the aptdaemon package to confirm.)

> If not handled before the next reboot, this can make the
> system un-bootable.

This should never happen, and would be an entirely separate bug.  The
kernel *update* may fail, but the old, successfully installed kernel
would still be available and should be the default in the bootloader
configuration.

-- 
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:
  Fix Released
Status in “aptitude” package in Ubuntu:
  Confirmed
Status in “apt” source package in Precise:
  Fix Released
Status in “aptitude” source package in Precise:
  Confirmed
Status in “apt” source package in Quantal:
  Fix Committed
Status in “aptitude” source package in Quantal:
  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