Public bug reported:
While trying to fix the kernel panic from this bug:
https://discourse.ubuntu.com/t/kernel-panic/64692/28
I was trying to uninstall the 6.14.0-24 kernel and re-install it hoping
that I either:
a) get different results
b) can uninstall 6.14.0-24 completely and have system boot with
linux-image-6.11.0-29-generic buy default which does not have a kernel panic on
boot issue.
I've removed linux-image-6.14.0-22-generic sucessfuly at first. Then I
tried to install it back, and got this issue.
Now I can't remove it either, because one of the triggers fails:
```
$ sudo apt remove linux-image-6.14.0-24-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode bpfcc-tools bpftrace ieee-data intel-microcode iucode-tool
libbpfcc libclang-cpp18 libclang1-18 libgdbuspp2 libllvm18
linux-headers-generic-hwe-24.04 python3-bpfcc
python3-netaddr python3-netifaces thermald ubuntu-kernel-accessories
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-6.14.0-24-generic
0 upgraded, 0 newly installed, 1 to remove and 31 not upgraded.
3 not fully installed or removed.
After this operation, 15.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 318573 files and directories currently installed.)
Removing linux-image-6.14.0-24-generic (6.14.0-24.24~24.04.3) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: virtualbox 7.0.16 (6.14.0-24-generic) (x86_64)
Module virtualbox-7.0.16 for kernel 6.14.0-24-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
vboxdrv.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.14.0-24-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetadp.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.14.0-24-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetflt.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.14.0-24-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
I: /boot/vmlinuz is now a symlink to vmlinuz-6.11.0-29-generic
I: /boot/initrd.img is now a symlink to initrd.img-6.11.0-29-generic
/var/lib/dpkg/info/linux-image-6.14.0-24-generic.postrm ... removing pending
trigger
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.14.0-24-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.11.0-29-generic
Found initrd image: /boot/initrd.img-6.11.0-29-generic
Found memtest86+ 64bit EFI image: /memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up linux-headers-6.14.0-24-generic (6.14.0-24.24~24.04.3) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.14.0-24-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.14.0-24-generic VER=6.14.0-24-generic
KERNEL_SRC=/lib/modules/6.14.0-24-generic/build
REVISION=0.2.20240619-1+noble...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/openvpn-dco-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.14.0-24-generic (x86_64)
Consult /var/lib/dkms/ovpn-dco/0.2.20240619-1+noble/build/make.log for more
information.
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.14.0-24-generic -C
/lib/modules/6.14.0-24-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build....
Signing module /var/lib/dkms/virtualbox/7.0.16/build/vboxdrv/vboxdrv.ko
Signing module /var/lib/dkms/virtualbox/7.0.16/build/vboxnetadp/vboxnetadp.ko
Signing module /var/lib/dkms/virtualbox/7.0.16/build/vboxnetflt/vboxnetflt.ko
Cleaning build area...
vboxdrv.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.14.0-24-generic/updates/dkms/
vboxnetadp.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.14.0-24-generic/updates/dkms/
vboxnetflt.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.14.0-24-generic/updates/dkms/
depmod...
dkms autoinstall on 6.14.0-24-generic/x86_64 succeeded for virtualbox
dkms autoinstall on 6.14.0-24-generic/x86_64 failed for ovpn-dco(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.14.0-24-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.14.0-24-generic (--configure):
installed linux-headers-6.14.0-24-generic package post-installation script
subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of
linux-headers-generic-hwe-24.04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.14.0-24-generic;
however:
Package linux-headers-6.14.0-24-generic is not configured yet.
dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
Errors were encountered while processing:
linux-headers-6.14.0-24-generic
linux-headers-generic-hwe-24.04
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: linux-image-6.14.0-24-generic 6.14.0-24.24~24.04.3
ProcVersionSignature: Ubuntu 6.11.0-29.29~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-29-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
AptOrdering:
linux-image-6.14.0-24-generic:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
Date: Thu Jul 24 17:45:03 2025
ErrorMessage: run-parts: /etc/kernel/header_postinst.d/dkms exited with return
code 11
InstallationDate: Installed on 2024-09-02 (325 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64
(20240827.1)
MachineType: LENOVO 21CKCTO1WW
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.11.0-29-generic
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal,
3.12.3-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions: grub-pc N/A
SourcePackage: dkms
Title: package linux-image-6.14.0-24-generic 6.14.0-24.24~24.04.3 failed to
install/upgrade: run-parts: /etc/kernel/header_postinst.d/dkms exited with
return code 11
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/29/2024
dmi.bios.release: 1.53
dmi.bios.vendor: LENOVO
dmi.bios.version: R23ET77W (1.53 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21CKCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: ThinkPad
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.33
dmi.modalias:
dmi:bvnLENOVO:bvrR23ET77W(1.53):bd05/29/2024:br1.53:efr1.33:svnLENOVO:pn21CKCTO1WW:pvrThinkPadP16sGen1:rvnLENOVO:rn21CKCTO1WW:rvrThinkPad:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21CK_BU_Think_FM_ThinkPadP16sGen1:
dmi.product.family: ThinkPad P16s Gen 1
dmi.product.name: 21CKCTO1WW
dmi.product.sku: LENOVO_MT_21CK_BU_Think_FM_ThinkPad P16s Gen 1
dmi.product.version: ThinkPad P16s Gen 1
dmi.sys.vendor: LENOVO
** Affects: dkms (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2118575
Title:
Install of linux-image-6.14.0-24-generic 6.14.0-24.24~24.04.3 failed
to install/upgrade: run-parts: /etc/kernel/header_postinst.d/dkms
exited with return code 11
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2118575/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs