Package: wireguard-dkms Version: 1.0.20210219-1 Severity: important Tags: upstream
-- System Information: Debian Release: 11.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages wireguard-dkms depends on: ii dkms 2.8.4-3 ii perl 5.32.1-4 Versions of packages wireguard-dkms recommends: ii wireguard 1.0.20210223-1 ii wireguard-tools 1.0.20210223-1 wireguard-dkms suggests no packages. -- no debconf information When regulary updating the system via apt/apt-get on Bullseye wireguard will fail to build when the linux-image package is updated with the following error: Setting up linux-headers-5.10.0-8-amd64 (5.10.46-3) ... /etc/kernel/header_postinst.d/dkms: dkms: running auto installation service for kernel 5.10.0-8-amd64:Error! The /var/lib/dkms/wireguard/1.0.20210219/5.10.0-8-amd64/x86_64/dkms.conf for module wireguard includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built.

