In removing some old packages, the kernel tried to reinstall and generated some errors. What’s the problem?
Building module:
Cleaning build area...
'make' -j22 KLIB=/lib/modules/6.11.0-17-generic KLIB_BUILD=/lib/modules/6.11.0-17-generic/build..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.11.0-17-generic (x86_64)
Consult /var/lib/dkms/backport-iwlwifi/11510/build/make.log for more information.
dkms autoinstall on 6.11.0-17-generic/x86_64 failed for backport-iwlwifi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.11.0-17-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.11.0-17-generic (--configure):
installed linux-headers-6.11.0-17-generic package post-installation script subprocess returned error exit status 11
Setting up linux-image-6.11.0-17-generic (6.11.0-17.17~24.04.2) ...
I: /boot/initrd.img.old is now a symlink to initrd.img-6.11.0-17-generic
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.11.0-17-generic; however:
Package linux-headers-6.11.0-17-generic is not configured yet.
dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.11.0-17.17~24.04.2+2); however:
Package linux-headers-generic-hwe-24.04 is not configured yet.
dpkg: error processing package linux-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
Processing triggers for linux-image-6.11.0-17-generic (6.11.0-17.17~24.04.2) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.11.0-17-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
The kernel being updated is going to be unrelated to the Plasma 6.3 update. You’ll want to go to your distros forum and create a help request thread there.
The kernel came from Ubuntu, a day or two ago. Neon doesn’t have anything to do with most of the the Ubuntu OS parts.
dkms failed to rebuild the module for the new kernel. it happens sometimes, or there is a problem with backport-iwlwifi-dkms assuming this is what you installed,.
This comes from ubuntu, so you may find more info from more general Ubuntu places, for more eyeballs. You will find more *buntu users who have installed the wifi driver package than you will neon users.
Already someone has noted this, so it may not just be you.
I’d try looking at the log file, and maybe try reinstalling that wifi driver package, which would try running DKMS again – it might work this time. Or removing it, boot to the new kernel (which should work ) and try installing it again, assuming you do have a network connection without it.
Hello. I’m new in your chat and have KDE but I got exactly the same problem on my Ubuntu 24.04… when booting in recovery mode i got samle error, meaning it doesn’t fing the good boot device (with linux 6.11.0-17-generic). If I boot with linux 6.08.0-52-generic, there is no more problem. So the problem is well linked to the new 6.11.0-17 but i’m really not a specialist… Kind regards.
The solution to this is to remove the iwlwifi package. The kernel then compiles & boots. As I read, the driver is part of the kernel, and the package is no longer needed. I’ve done this and the wifi is still working.
24.04 same issue
but i can’t install completely or remove that kernel backport-iwlwifi-dkms wasn’t installed…
6.8 working ok
but i need to load it manually every time
Appears to be how it is named from the bug report above.
Then use.
sudo apt-mark hold linux-image-6.08.0-52-generic
To hold that package and prevent it from being upgraded. Once them people at ubuntu figure out how to release a kernel without problems install it and see if it works for you.