Bug#1080264: linux-headers-6.1.0-25-amd64: Package fails to autoinstall due to dkms and wireguard module
Package: linux-headers-6.1.0-25-amd64
Version: 6.1.106-3
Severity: important
Dear Maintainer,
on 2024-08-31 while trying to upgrade to the new released kernel in debian stable
from 6.1.0-23-amd64 to 6.1.0-25-amd64 an error occured trying to upgrade kernel headers
command ran:
apt upgrade -y
I expected linux-headers to be upgraded without issues, had to reboot
and run with previous kernel.
Error during ugprade
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Error! The
/var/lib/dkms/wireguard/1.0.20200429/6.1.0-25-amd64/x86_64/dkms.conf for
module wireguard includes a BUILD_EXCLUSIVE directive which does not
match this kernel/arch/config.
This indicates that it should not be built.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-25-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at
/var/lib/dpkg/info/linux-headers-6.1.0-25-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-25-amd64
(--configure):
installed linux-headers-6.1.0-25-amd64 package post-installation script
subprocess returned error exit status 1
Errors were encountered while processing:
linux-headers-6.1.0-25-amd64
==============================
-- System Information:
Debian Release: 12.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-25-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages linux-headers-6.1.0-25-amd64 depends on:
ii linux-compiler-gcc-12-x86 6.1.106-3
ii linux-headers-6.1.0-25-common 6.1.106-3
ii linux-kbuild-6.1 6.1.106-3
linux-headers-6.1.0-25-amd64 recommends no packages.
linux-headers-6.1.0-25-amd64 suggests no packages.
-- no debconf information
Reply to: