I found a similar problem, with a different solution, so I thought to make my own post. When running sudo apt upgrade
I'm having an error installing the latest linux kernel 6.8.0.45.45
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.8.0-45-generic is already the newest version (6.8.0-45.45).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.8.0-45-generic (6.8.0-45.45) ...
Setting up linux-headers-6.8.0-45-generic (6.8.0-45.45) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-45-generic
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area....(bad exit status: 2)
make -j4 KERNELRELEASE=6.8.0-45-generic all INCLUDEDIR=/lib/modules/6.8.0-45-generic/build/include KVERSION=6.8.0-45-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 5.2.14 not found
Error! Bad return status for module build on kernel: 6.8.0-45-generic (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
dkms autoinstall on 6.8.0-45-generic/x86_64 failed for evdi(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-45-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-45-generic (--configure):
installed linux-headers-6.8.0-45-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-6.8.0-45-generic; however:
Package linux-headers-6.8.0-45-generic is not configured yet.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
Setting up linux-headers-6.8.0-44-generic (6.8.0-44.44) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-44-generic
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.8.0-44-generic all INCLUDEDIR=/lib/modules/6.8.0-44-generic/build/include KVERSION=6.8.0-44-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 5.2.14 not found
Error! Bad return status for module build on kernel: 6.8.0-44-generic (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
dkms autoinstall on 6.8.0-44-generic/x86_64 failed for evdi(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-44-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-44-generic (--configure):
installed linux-headers-6.8.0-44-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 6.8.0-45.45); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Processing triggers for linux-image-6.8.0-45-generic (6.8.0-45.45) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-45-generic
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.8.0-45-generic all INCLUDEDIR=/lib/modules/6.8.0-45-generic/build/include KVERSION=6.8.0-45-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 5.2.14 not found
Error! Bad return status for module build on kernel: 6.8.0-45-generic (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
dkms autoinstall on 6.8.0-45-generic/x86_64 failed for evdi(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-45-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.0-45-generic (--configure):
installed linux-image-6.8.0-45-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-headers-6.8.0-45-generic
linux-headers-generic
linux-headers-6.8.0-44-generic
linux-generic
linux-image-6.8.0-45-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
/var/lib/dkms/evdi/5.2.14/build/make.log shows the following
DKMS make.log for evdi-5.2.14 for kernel 6.8.0-45-generic (x86_64)
Mon Sep 23 08:12:17 AM PDT 2024
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/6.8.0-45-generic/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-45-generic'
make --no-print-directory -C /usr/src/linux-headers-6.8.0-45-generic \
-f /usr/src/linux-headers-6.8.0-45-generic/Makefile modules
make -f ./scripts/Makefile.build obj=arch/x86/entry/syscalls all
make -f ./scripts/Makefile.build obj=scripts/basic
set -e; mkdir -p include/config/; trap "rm -f include/config/.tmp_kernel.release" EXIT; { echo 6.8.0-45-generic; } > include/config/.tmp_kernel.release; if [ ! -r include/config/kernel.>
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/uapi/asm \
generic=include/uapi/asm-generic
set -e; mkdir -p include/generated/uapi/linux/; trap "rm -f include/generated/uapi/linux/.tmp_version.h" EXIT; { if [ 12 -gt 255 ]; then echo \#define LINUX_VERSION_CODE 395519; >
set -e; mkdir -p include/generated/; trap "rm -f include/generated/.tmp_utsrelease.h" EXIT; { if [ `echo -n "6.8.0-45-generic" | wc -c ` -gt 64 ]; then echo '"6.8.0-45-generic" exceed>
set -e; mkdir -p include/generated/; trap "rm -f include/generated/.tmp_compile.h" EXIT; { ./scripts/mkcompile_h "x86_64" "gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0" "ld"; } > include/gen>
./scripts/remove-stale-files
make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
make[2]: *** [arch/x86/Makefile:249: archheaders] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-45-generic'
make: *** [Makefile:22: all] Error 2
Running dkms status
returns the following
evdi/1.14.1: added
evdi/1.14.2+dfsg, 6.8.0-44-generic, x86_64: installed
evdi/1.14.2+dfsg, 6.8.0-45-generic, x86_64: installed
evdi/5.2.14: added
Is this an issue with dkms? Something else I'm missing?