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

Launchpad Bug Tracker 923876 at bugs.launchpad.net
Wed Mar 13 04:24:11 UTC 2013


This bug was fixed in the package apt - 0.8.16~exp12ubuntu10.9

---------------
apt (0.8.16~exp12ubuntu10.9) precise-proposed; urgency=low

  [ David Kalnischkies ]
  * apt-pkg/depcache.cc:
    - prefer to install packages which have an already installed M-A:same
      sibling while choosing providers (LP: #1130419)

  [ Steve Langasek ]
  * Invoke /etc/kernel/postinst.d/apt-auto-removal directly on upgrade for
    bug #923876, so that an 'apt-get autoremove' run before any new kernel
    packages have been installed gives the expected behavior.

apt (0.8.16~exp12ubuntu10.8) precise; urgency=low

  * Backport kernel auto-removal/retention policy from raring (LP: #923876)
    - debian/apt.auto-removal.sh, debian/rules, debian/apt.dirs: Add new
      script to /etc/kernel/postinst.d/ that ensures we always retain the
      currently-running, being-installed, and newest-installed kernels.
    - debian/apt.conf.autoremove: don't include linux-restricted-modules*,
      linux-image*, and linux-ubuntu-modules* in the never-removed list.
 -- Steve Langasek <steve.langasek at ubuntu.com>   Sat, 02 Mar 2013 20:22:43 +0000

** Changed in: apt (Ubuntu Precise)
       Status: Fix Committed => Fix Released

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