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

Brian Murray brian at ubuntu.com
Thu Sep 19 17:30:17 UTC 2013


I tested this in a quantal virtual machine that was running kernel
3.5.0-39, by first installing apt from quantal-proposed, then disabling
proposed and using 'apt-get dist-upgrade' to install kernel version
3.5.0-40.  I then rebooted and enabled proposed again, from which I then
used 'apt-get dist-upgrade' to update to kernel version 3.5.0-41.  Then
I rebooted again and ran 'sudo apt-get autoremove --purge' and did not
see kernel version 3.5.0-39 in the list of packages to be removed.

-- 
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