Similar issue updating from 6.8.0-49 to 6.8.0-50 and/or 6.8.0-51
and now I can't run dkms to install.update anything

sudo dpkg --configure -a
Setting up linux-headers-6.8.0-50-lowlatency (6.8.0-50.51.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-50-lowlatency
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' all KVER=6.8.0-50-lowlatency...(bad exit status: 2)
ERROR (dkms apport): binary package for btusb: 4.1 not found
Error! Bad return status for module build on kernel: 6.8.0-50-lowlatency 
(x86_64)
Consult /var/lib/dkms/btusb/4.1/build/make.log for more information.
dkms autoinstall on 6.8.0-50-lowlatency/x86_64 failed for btusb(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-50-lowlatency
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-50-lowlatency (--configure):
 installed linux-headers-6.8.0-50-lowlatency package post-installation script 
subprocess returned error exit status 11

...
____________________________

And here is  /var/lib/dkms/btusb/4.1/build/make.log:

DKMS make.log for btusb-4.1 for kernel 6.8.0-51-generic (x86_64)
Thu Dec 19 05:26:10 PM PST 2024
make -C /lib/modules/6.8.0-51-generic/build M=/var/lib/dkms/btusb/4.1/build 
modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-51-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 
13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
CC [M] /var/lib/dkms/btusb/4.1/build/btusb.o
/var/lib/dkms/btusb/4.1/build/btusb.c: In function ‘btusb_probe’:
/var/lib/dkms/btusb/4.1/build/btusb.c:4501:25: error: 
‘HCI_QUIRK_VALID_LE_STATES’ undeclared (first use in this function); did you 
mean ‘HCI_QUIRK_BROKEN_LE_STATES’?
4501 | set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| HCI_QUIRK_BROKEN_LE_STATES
/var/lib/dkms/btusb/4.1/build/btusb.c:4501:25: note: each undeclared identifier 
is reported only once for each function it appears in
make[3]: *** [scripts/Makefile.build:243: 
/var/lib/dkms/btusb/4.1/build/btusb.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-51-generic/Makefile:1925: 
/var/lib/dkms/btusb/4.1/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-51-generic'
make: *** [Makefile:7: all] Error 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092294

Title:
  package linux-image-6.8.0-51-generic 6.8.0-51.52 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with
  return code 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2092294/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to