[Bug 2073399] Re: Aborting the removal of the running kernel triggers apport
Juerg Haefliger
2073399 at bugs.launchpad.net
Mon Sep 1 10:13:51 UTC 2025
** Also affects: linux-base (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2073399
Title:
Aborting the removal of the running kernel triggers apport
Status in apport package in Ubuntu:
Confirmed
Status in linux-base package in Ubuntu:
New
Bug description:
If a user tries to remove the running kernel, they get a warning and
are asked if they really want to continue. If they decide not to,
i.e., abort the removal of the running kernel, apport is triggered and
wants to submit a bug report. That should not happen.
Removing linux-image-generic (6.5.0.44.44) ...
Removing linux-image-6.5.0-44-generic (6.5.0-44.44) ...
E: Aborting removal of the running kernel
dpkg: error processing package linux-image-6.5.0-44-generic (--remove):
installed linux-image-6.5.0-44-generic package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-6.5.0-44-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2073399/+subscriptions
More information about the foundations-bugs
mailing list