Hello, thank you for taking the time to open this bug report.
This seems to be working as designed, but perhaps not as you intended.
You are executing the command "apt-get purge linux-
image-6.8.0-41-generic", which is trying to purge the current running
kernel from your system.
If you boot in to another kernel, you will then be able to purge the
6.8.0-41-generic kernel without this prompt.
You can answer the prompt to purge the kernel, and on your next reboot
you will be booted into a previous kernel if one exists, otherwise your
system will be unusable. This is why that warning is there.
If you are absolutely sure this is something you want to do, and you
want to avoid the prompt, you can use the command:
sudo DEBIAN_FRONTEND=noninteractive apt-get purge linux-
image-6.8.0-41-generic
but this is not recomended.
** Changed in: linux (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081693
Title:
package linux-image-6.8.0-41-generic 6.8.0-41.41 failed to
install/upgrade: installed linux-image-6.8.0-41-generic package pre-
removal script subprocess returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2081693/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs