软件包 linux-headers-6.1.0-12-amd64 尚未配置

软件包 linux-headers-6.1.0-12-amd64 尚未配置

我在 debian 12 - 6.2.16-10-pve 上运行 proxmox 主机 8.0.4 我的 LXC 之一运行 debian 12 6.2.16-10-pve,无法执行任何 apt use 如果我尝试安装任何软件包,我会得到这个错误

dkms: running auto installation service for kernel 6.1.0-12-amd64.
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.20210219/6.1.0-12-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-12-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-12-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-12-amd64 (--configure):
 installed linux-headers-6.1.0-12-amd64 package post-installation script subprocess returned error exit status 1
Setting up ccze (0.2.1-7) ...
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-12-amd64 (= 6.1.52-1); however:
  Package linux-headers-6.1.0-12-amd64 is not configured yet.

任何帮助,将不胜感激

相关内容