[Bug 1275376] Re: apt-get autoremove should leave (n-1)th kernel
Steve Langasek
steve.langasek at canonical.com
Wed Feb 26 23:35:02 UTC 2014
The code here is configured to always leave exactly two kernels
installed, with the running kernel as one of them. What were the kernel
packages that you had installed before and after this autoremoval?
** Changed in: apt (Ubuntu)
Status: New => Incomplete
** Changed in: apt (Ubuntu)
Assignee: (unassigned) => Steve Langasek (vorlon)
--
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/1275376
Title:
apt-get autoremove should leave (n-1)th kernel
Status in “apt” package in Ubuntu:
Incomplete
Bug description:
Running autoremove tonight on a 13.10 machine being upgraded to 14.04,
I was informed by apt-get that I could delete no longer needed kernel
packages with autoremove. When I did so I was left with just the
current kernel. I suggest that autoremove should always leave the
(n-1)th kernel behind. Otherwise users cannot revert to the previous
kernel if something goes wrong. I believe this has been the default
behavior for "apt-get autoremove" for some time now.
You could argue that if a user is able to run autoremove, then there
is no point to keeping the previous kernel image. I disagree. Users
may not test out all their connected devices before running autoremove
and then discover they cannot use a camera or audio device.
Release: 14.04 (Trusty)
Package: apt, Version: 0.9.14.1ubuntu2 (and earlier)
Expected: "apt-get autoremove" would leave current and prior kernel images installed
Actual: only current kernel image remains
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1275376/+subscriptions
More information about the foundations-bugs
mailing list