[Bug 923876] Re: FR: Limit and clean-up kernel images and headers automatically in LTS
Launchpad Bug Tracker
923876 at bugs.launchpad.net
Tue Nov 6 16:08:09 UTC 2012
This bug was fixed in the package apt - 0.9.7.6ubuntu1
---------------
apt (0.9.7.6ubuntu1) raring; urgency=low
[ Michael Vogt ]
* merged from debian-sid
[ Program translation updates ]
* Catalan (Jordi Mallach)
* Drop a confusing non-breaking space. Closes: #691024
* Thai (Theppitak Karoonboonyanan). Closes: #691613
[ David Kalnischkies ]
* apt-pkg/packagemanager.cc:
- do not do lock-step configuration for a M-A:same package if it isn't
unpacked yet in SmartConfigure and do not unpack a M-A:same package
again in SmartUnPack if we have already configured it (LP: #1062503)
[ Steve Langasek ]
* debian/apt.conf.autoremove: don't include linux-image*,
linux-restricted-modules*, and linux-ubuntu-modules* packages in the
list to never be autoremoved.
* debian/apt.auto-removal.sh, debian/rules, debian/apt.dirs: install new
script to /etc/kernel/postinst.d/ which ensures we only automatically
keep the currently-running kernel, the being-installed kernel, and the
newest kernel, so we don't fill /boot up with an unlimited number of
kernels. LP: #923876.
apt (0.9.7.6) unstable; urgency=low
[ Program translation updates ]
* Ukrainian (A. Bondarenko)
[ David Kalnischkies ]
* apt-pkg/pkgcachegen.cc:
- ensure that dependencies for packages:none are always generated
- add 2 missing remap registrations causing a segfault in case
we use the not remapped iterators after a move of the mmap again
- write the native architecture as unique string into the cache header
as it is used for arch:all packages as a map to arch:native.
Otherwise arch comparisons later will see differences (Closes: #689323)
* apt-pkg/pkgcache.cc:
- ignore negative dependencies applying in the same group for M-A:same
packages on the real package name as self-conflicts (Closes: #688863)
* cmdline/apt-cache.cc:
- print versioned dependency relations in (r)depends if the option
APT::Cache::ShowVersion is true (default: false) as discussed in
#218995 to help debian-cd fixing #687949. Thanks to Sam Lidder
for initial patch and Steve McIntyre for nagging and testing!
* apt-pkg/edsp.cc:
- include reinstall requests and already installed (= protected) packages
in the install-request for external resolvers (Closes: #689331)
* apt-pkg/policy.cc:
- match pins with(out) an architecture as we do on the commandline
(partly fixing #687255, b= support has to wait for jessie)
* apt-pkg/contrib/netrc.cc:
- remove the 64 char limit for login/password in internal usage
- remove 256 char line limit by using getline() (POSIX.1-2008)
[ Colin Watson ]
* apt-pkg/pkgcachegen.cc:
- Fix crash if the cache is remapped while writing a Provides version
(LP: #1066445).
-- Michael Vogt <michael.vogt at ubuntu.com> Tue, 06 Nov 2012 15:12:36 +0100
** Changed in: apt (Ubuntu)
Status: Confirmed => 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
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