Mozna problem s aktualizaci jadra pro upgrade na Debian 12 [solved]

Ahoj, ja uplne zapomnel, ze si na to musim davat bacha (mozna jsem ale neco jen prehlid a udelal blbe) kazodpadne mi to ted zaclo kvicet pri jakemkoliv pokusu o instalci neceho pres apt, kvuli nekteremu modulu ci kombinaci kernelu. Je z toho nejaka cesta ven? Prispendlit nejakou starsi versi kernelu nebo nejak to ted fixnout? Stalo se mi to po aktualizaci z 11 na 12ku.

Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-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/aufs/4.19+20190211/6.1.0-18-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-18-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-18-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure):
 installed linux-headers-6.1.0-18-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-18-amd64 (= 6.1.76-1); however:
  Package linux-headers-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for libglib2.0-0:amd64 (2.74.6-2) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Errors were encountered while processing:
 linux-headers-6.1.0-18-amd64
 linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Aha, tak dobry, po chvilce googleni to vypada jen na nejaky pozustatek aufs-dkms modulu, ktery asi ani uz nepotrebuju a jeho odinstalace to vyresila. :slight_smile:

1 Like