Debian从10经11升级到12执行apt full-upgrade时遇linux-headers及dkms相关报错求助
Debian从10经11升级到12执行apt full-upgrade时遇linux-headers及dkms相关报错求助
最近折腾Debian系统升级,从10版本一路过渡到11再升到12,结果执行apt full-upgrade的时候直接卡壳了,报了一堆和linux-headers、dkms相关的错误,现在升级流程完全走不下去,有没有老哥能帮忙指点下解决办法?
具体报错信息如下:
Error! The /var/lib/dkms/aufs/4.19+20190211/6.1.0-20-amd64/x86_64/dkms.conf for module aufs 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-20-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-20-amd64.postinst line 11. dpkg: error processing package linux-headers-6.1.0-20-amd64 (--configure): installed linux-headers-6.1.0-20-amd64 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-headers-amd64: linux-headers-amd64 depends on linux-headers-6.1.0-20-amd64; however: Package linux-headers-6.1.0-20-amd64 is not configured yet.
备注:内容来源于stack exchange,提问作者Oleg Neumyvakin
相关产品推荐
相关产品推荐

