Hi Nicolas, thank you for taking the time to open this bug report.

After going through all the logs provided, it appears that this is being
caused by one of the out-of-tree kernel modules that you have installed.

When the kernel headers are being installed, one of the last steps is to
rebuild all of the dkms modules that are installed, and this is what is
failing.

In the DpkgTerminalLog.txt file, towards the end is this:


-----------------------------------------
Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for applespi: 0.1 not found
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/applespi/0.1/build/make.log for more information.
dkms autoinstall on 6.8.0-40-generic/x86_64 failed for applespi(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-40-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
     error processing package linux-headers-6.8.0-40-generic (--configure):
 installed linux-headers-6.8.0-40-generic package post-installation script 
subprocess returned error exit status 11
-----------------------------------------


Perhaps one of the dkms packages doesn't support the newer kernel.  If
you remove the dkms modules from the system, and then install the
headers you should not hit this issue.

If you still hit this issue with all the out of tree dkms packages
removed, please re-open this ticket and upload the logs again, and I
will take another look.

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Philip Cox (philcox)

** 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/2076343

Title:
  package linux-headers-6.8.0-40-generic 6.8.0-40.40 failed to
  install/upgrade: installed linux-headers-6.8.0-40-generic package
  post-installation script subprocess returned error exit status 11

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to