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 Kernel Packages, which is subscribed to linux in 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 Status in linux package in Ubuntu: Invalid Bug description: System program problem detected ProblemType: Package DistroRelease: Ubuntu 24.04 Package: linux-image-6.8.0-41-generic 6.8.0-41.41 ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12 Uname: Linux 6.8.0-45-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.1 AptOrdering: linux-image-6.8.0-41-generic:amd64: Purge NULL: ConfigurePending NULL: PurgePending NULL: ConfigurePending Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/seq: mattakushi 2597 F.... pipewire /dev/snd/controlC0: mattakushi 2606 F.... wireplumber CRDA: N/A CasperMD5CheckResult: pass Date: Tue Sep 17 19:23:16 2024 ErrorMessage: installed linux-image-6.8.0-41-generic package pre-removal script subprocess returned error exit status 1 InstallationDate: Installed on 2024-04-25 (151 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) IwConfig: lo no wireless extensions. ens33 no wireless extensions. Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 001 Device 004: ID 0e0f:0008 VMware, Inc. Virtual Bluetooth Adapter Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: VMware, Inc. VMware Virtual Platform ProcFB: 0 vmwgfxdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-45-generic root=UUID=10cb5289-1e93-4cb2-b33c-4c7807a4b29b ro debian-installer/custom-installation=/custom find_preseed=/preseed.cfg auto preseed/file=/floppy/preseed.cfg automatic-ubiquity noprompt priority=critical locale=en_US console-setup/modelcode=evdev Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: grub-pc 2.12-1ubuntu7 RfKill: 0: hci0: Bluetooth Soft blocked: no Hard blocked: no SourcePackage: linux 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 UpgradeStatus: Upgraded to noble on 2024-06-19 (96 days ago) dmi.bios.date: 11/12/2020 dmi.bios.release: 4.6 dmi.bios.vendor: Phoenix Technologies LTD dmi.bios.version: 6.00 dmi.board.name: 440BX Desktop Reference Platform dmi.board.vendor: Intel Corporation dmi.board.version: None dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 1 dmi.chassis.vendor: No Enclosure dmi.chassis.version: N/A dmi.ec.firmware.release: 0.0 dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd11/12/2020:br4.6:efr0.0:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:sku: dmi.product.name: VMware Virtual Platform dmi.product.version: None dmi.sys.vendor: VMware, Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2081693/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp