[Bug 1633897] [NEW] aptitude should warn before removing running kernel
themusicgod1
1633897 at bugs.launchpad.net
Sun Oct 16 17:20:14 UTC 2016
Public bug reported:
1)
Installed kernel: linux-image-4.4.0-21-generic was the currently running kernel post-upgrade from xenial to yakkety
2) looked up linux-image-4.8.0-22-generic and marked it for install
3) went to 'obsolete and locally created packages' and hit 'r' to see
what options aptitude would provide
There was a lot of packages there -- I was not able to remove the
packages at the end of the upgrade process because wifi was not working.
linux-image-4.4.0-21-generic must have been among them in retrospect
4) hit 'g' twice to start the upgrade - eventually I was met with a 'W'
message saying that the current running kernel was being removed. This
activity for quite a few versions of debian/ubuntu has brought a user
prompt asking the user to make sure yo knows what they are doing. This
prompt did not come up, instead aptitude removed the current running
kernel and continued on installing the next version of the kernel
(4.8.0)
While in this case, it *may* seem like Linux 4.8.0 was able to install
successfully, I have seen kernels that have not. If one of *those*
kernels was the one that was replacing 4.4.0, the system would have been
left in an unbootable state(and may yet be in one). This is a good
reason why Aptitude should have prompted me upon attempting to remove
it, I would have certainly said to not continue.
Ubuntu: 16.10
Aptitude: 0.8.3-1ubuntu1
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: aptitude 0.8.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Oct 16 13:12:50 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (829 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
SourcePackage: aptitude
UpgradeStatus: Upgraded to yakkety on 2016-10-16 (0 days ago)
** Affects: aptitude (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug yakkety
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1633897
Title:
aptitude should warn before removing running kernel
Status in aptitude package in Ubuntu:
New
Bug description:
1)
Installed kernel: linux-image-4.4.0-21-generic was the currently running kernel post-upgrade from xenial to yakkety
2) looked up linux-image-4.8.0-22-generic and marked it for install
3) went to 'obsolete and locally created packages' and hit 'r' to see
what options aptitude would provide
There was a lot of packages there -- I was not able to remove the
packages at the end of the upgrade process because wifi was not
working. linux-image-4.4.0-21-generic must have been among them in
retrospect
4) hit 'g' twice to start the upgrade - eventually I was met with a
'W' message saying that the current running kernel was being removed.
This activity for quite a few versions of debian/ubuntu has brought a
user prompt asking the user to make sure yo knows what they are doing.
This prompt did not come up, instead aptitude removed the current
running kernel and continued on installing the next version of the
kernel (4.8.0)
While in this case, it *may* seem like Linux 4.8.0 was able to install
successfully, I have seen kernels that have not. If one of *those*
kernels was the one that was replacing 4.4.0, the system would have
been left in an unbootable state(and may yet be in one). This is a
good reason why Aptitude should have prompted me upon attempting to
remove it, I would have certainly said to not continue.
Ubuntu: 16.10
Aptitude: 0.8.3-1ubuntu1
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: aptitude 0.8.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Oct 16 13:12:50 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (829 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
SourcePackage: aptitude
UpgradeStatus: Upgraded to yakkety on 2016-10-16 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1633897/+subscriptions
More information about the foundations-bugs
mailing list