Failed kernel update Mx-23  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Charlie Brown

Re: Failed kernel update Mx-23

#21 Post by Charlie Brown »

Pakos wrote: Fri Jul 19, 2024 10:11 am... Not sure if you meant that ...
Nope. That option doesn't appear when the relevant packages are uninstalled. So, normally it shouldn't go on auto-updating ( ..-23 etc..).

If you like only you can even do this: Install the most recent Liquorix kernel from "MX Package Installer" (just 2 clicks from the initial tab) then reboot. If that's successful you may/may not remove the 6.1.xx .

Charlie Brown

Re: Failed kernel update Mx-23

#22 Post by Charlie Brown »

Oh là là :

Code: Select all

...
Fouten gevonden tijdens verwerken van:
 linux-image-6.1.0-23-amd64
 linux-headers-6.1.0-23-amd64
 linux-headers-amd64
 linux-image-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
so, probably they were stuck (half installed / half removed). So, probably the same thing will go on whatever you install/remove (even with any non-relevant packages) .

So, we might need to "scrape" them first.

In the meantime these two are those ones mentioned above to provide auto-update (for the default (6.1) kernel) :

linux-headers-amd64
linux-image-amd64

That's why it looks like they're uninstalled and no such option in MX Tweak.

Charlie Brown

Re: Failed kernel update Mx-23

#23 Post by Charlie Brown »

Code: Select all

sudo mv /var/lib/dpkg/info/linux*6.1.0-23* /tmp/ ; sudo mv /var/lib/dpkg/info/linux-headers-amd64 /tmp/ ; sudo mv /var/lib/dpkg/info/linux-image-amd64 /tmp/ ; sudo dpkg --purge --force-remove-reinstreq linux-image-6.1.0-23-amd64 ; sudo dpkg --purge --force-remove-reinstreq linux-headers-6.1.0-23-amd64 ; sudo dpkg --purge --force-remove-reinstreq linux-headers-amd64 ; sudo dpkg --purge --force-remove-reinstreq linux-image-amd64 ; sudo dpkg --configure -a
Reboot.
Last edited by Charlie Brown on Fri Jul 19, 2024 11:04 am, edited 1 time in total.

User avatar
Pakos
Posts: 58
Joined: Sat Feb 13, 2021 1:10 pm

Re: Failed kernel update Mx-23

#24 Post by Pakos »

Charlie Brown wrote: Fri Jul 19, 2024 10:35 am If you like only you can even do this: Install the most recent Liquorix kernel from "MX Package Installer" (just 2 clicks from the initial tab) then reboot. If that's successful you may/may not remove the 6.1.xx .
Tried to install the most recent Liquirux kernel trough MX Package installer. Got the following error: https://imgur.com/tDGzjzH.png

Charlie Brown

Re: Failed kernel update Mx-23

#25 Post by Charlie Brown »

Ok, scrape them with the command above. Just copy-paste-Enter...

User avatar
Eadwine Rose
Administrator
Posts: 15360
Joined: Wed Jul 12, 2006 2:10 am

Re: Failed kernel update Mx-23

#26 Post by Eadwine Rose »

And please post text output as text, not as screenshot, thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Pakos
Posts: 58
Joined: Sat Feb 13, 2021 1:10 pm

Re: Failed kernel update Mx-23

#27 Post by Pakos »

Code: Select all

Skander@Mx23:~
$ sudo mv /var/lib/dpkg/info/linux*6.1.0-23* /tmp/ ; sudo mv /var/lib/dpkg/info/linux-headers-amd64 /tmp/ ; sudo mv /var/lib/dpkg/info/linux-image-amd64 /tmp/ ; sudo dpkg --purge --force-remove-reinstreq linux-image-6.1.0-23-amd64 ; sudo dpkg --purge --force-remove-reinstreq linux-headers-6.1.0-23-amd64 ; sudo dpkg --purge --force-remove-reinstreq linux-headers-amd64 ; sudo dpkg --purge --force-remove-reinstreq linux-image-amd64 ; sudo dpkg --configure -a
[sudo] wachtwoord voor Skander:           
mv: kan status van '/var/lib/dpkg/info/linux-headers-amd64' niet opvragen: Bestand of map bestaat niet
mv: kan status van '/var/lib/dpkg/info/linux-image-amd64' niet opvragen: Bestand of map bestaat niet
dpkg: vereistenproblemen verhinderen het verwijderen van linux-image-6.1.0-23-amd64:
 linux-image-amd64 is afhankelijk van linux-image-6.1.0-23-amd64 (= 6.1.99-1).

dpkg: fout bij verwerken van pakket linux-image-6.1.0-23-amd64 (--purge):
 vereistenproblemen - wordt niet verwijderd
Fouten gevonden tijdens verwerken van:
 linux-image-6.1.0-23-amd64
dpkg: vereistenproblemen verhinderen het verwijderen van linux-headers-6.1.0-23-amd64:
 linux-headers-amd64 is afhankelijk van linux-headers-6.1.0-23-amd64 (= 6.1.99-1).

dpkg: fout bij verwerken van pakket linux-headers-6.1.0-23-amd64 (--purge):
 vereistenproblemen - wordt niet verwijderd
Fouten gevonden tijdens verwerken van:
 linux-headers-6.1.0-23-amd64
dpkg: waarschuwing: bestand met de lijst bestanden van pakket'linux-headers-6.1.0-23-common' ontbreekt; aangenomen
wordt dat het pakket momenteel geen geïnstalleerde bestanden heeft
(Database wordt ingelezen ... 313735 bestanden en mappen momenteel geïnstalleerd.)
linux-headers-amd64 (6.1.99-1) wordt verwijderd ...
Configuratiebestanden voor linux-headers-amd64 (6.1.99-1) worden gewist ...
dpkg: waarschuwing: bestand met de lijst bestanden van pakket'linux-headers-6.1.0-23-common' ontbreekt; aangenomen
wordt dat het pakket momenteel geen geïnstalleerde bestanden heeft
(Database wordt ingelezen ... 313733 bestanden en mappen momenteel geïnstalleerd.)
linux-image-amd64 (6.1.99-1) wordt verwijderd ...
Configuratiebestanden voor linux-image-amd64 (6.1.99-1) worden gewist ...
Instellen van linux-headers-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-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.9.9-1-liquorix-amd64.postinst line 11.
dpkg: fout bij verwerken van pakket linux-headers-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-headers-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Instellen van linux-image-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
I: /initrd.img is now a symlink to boot/initrd.img-6.9.9-1-liquorix-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: fout bij verwerken van pakket linux-image-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-image-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
 linux-headers-6.9.9-1-liquorix-amd64
 linux-image-6.9.9-1-liquorix-amd64
 
 
 Skander@Mx23:~
$ sudo apt-get autoremove
[sudo] wachtwoord voor Skander:           
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd... Klaar
De statusinformatie wordt gelezen... Klaar 
De volgende pakketten zullen VERWIJDERD worden:
  linux-headers-6.1.0-23-amd64 linux-headers-6.1.0-23-common linux-image-6.1.0-23-amd64
0 opgewaardeerd, 0 nieuw geïnstalleerd, 3 te verwijderen en 0 niet opgewaardeerd.
4 niet volledig geïnstalleerd of verwijderd.
Na deze bewerking zal er 470 MB schijfruimte vrijkomen.
Wilt u doorgaan? [J/n] j
dpkg: waarschuwing: bestand met de lijst bestanden van pakket'linux-headers-6.1.0-23-common' ontbreekt; aangenomen
wordt dat het pakket momenteel geen geïnstalleerde bestanden heeft
(Database wordt ingelezen ... 313730 bestanden en mappen momenteel geïnstalleerd.)
linux-headers-6.1.0-23-amd64 (6.1.99-1) wordt verwijderd ...
linux-image-6.1.0-23-amd64 (6.1.99-1) wordt verwijderd ...
linux-headers-6.1.0-23-common (6.1.99-1) wordt verwijderd ...
Instellen van linux-headers-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-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.9.9-1-liquorix-amd64.postinst line 11.
dpkg: fout bij verwerken van pakket linux-headers-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-headers-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Instellen van linux-image-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: fout bij verwerken van pakket linux-image-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-image-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
 linux-headers-6.9.9-1-liquorix-amd64
 linux-image-6.9.9-1-liquorix-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Charlie Brown

Re: Failed kernel update Mx-23

#28 Post by Charlie Brown »

I was just about to edit and add a * to some parts:

Code: Select all

sudo mv /var/lib/dpkg/info/linux-headers-amd6* /tmp/ ; sudo mv /var/lib/dpkg/info/linux-image-amd6* /tmp/ ; sudo dpkg --purge --force-remove-reinstreq linux-headers-amd64 ; sudo dpkg --purge --force-remove-reinstreq linux-image-amd64 ; sudo dpkg --configure -a
(... Cause we need(ed) to move all related files (not just 2) ).
Last edited by Charlie Brown on Fri Jul 19, 2024 11:35 am, edited 1 time in total.

User avatar
Pakos
Posts: 58
Joined: Sat Feb 13, 2021 1:10 pm

Re: Failed kernel update Mx-23

#29 Post by Pakos »

Code: Select all

Skander@Mx23:~/Bureaublad
$ sudo mv /var/lib/dpkg/info/linux-headers-amd6* /tmp/ ; sudo mv /var/lib/dpkg/info/linux-image-amd6* /tmp/ ; sudo dpkg --purge --force-remove-reinstreq linux-headers-amd64 ; udo dpkg --purge --force-remove-reinstreq linux-image-amd64 ; sudo dpkg --configure -a
[sudo] wachtwoord voor Skander:           
mv: kan status van '/var/lib/dpkg/info/linux-headers-amd6*' niet opvragen: Bestand of map bestaat niet
mv: kan status van '/var/lib/dpkg/info/linux-image-amd6*' niet opvragen: Bestand of map bestaat niet
dpkg: waarschuwing: verzoek om linux-headers-amd64 te verwijderen wordt genegeerd omdat het niet geïnstalleerd is
Opdracht 'udo' niet gevonden, maar deze kan worden geïnstalleerd met:
sudo apt install udo
Instellen van linux-headers-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-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.9.9-1-liquorix-amd64.postinst line 11.
dpkg: fout bij verwerken van pakket linux-headers-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-headers-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Instellen van linux-image-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: fout bij verwerken van pakket linux-image-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-image-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
 linux-headers-6.9.9-1-liquorix-amd64
 linux-image-6.9.9-1-liquorix-amd64
After reboot:

Code: Select all

Skander@Mx23:~
$ sudo apt-get autoremove
[sudo] wachtwoord voor Skander:           
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd... Klaar
De statusinformatie wordt gelezen... Klaar 
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
2 niet volledig geïnstalleerd of verwijderd.
Na deze bewerking zal er 0 B extra schijfruimte gebruikt worden.
Instellen van linux-headers-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-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.9.9-1-liquorix-amd64.postinst line 11.
dpkg: fout bij verwerken van pakket linux-headers-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-headers-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Instellen van linux-image-6.9.9-1-liquorix-amd64 (6.9-8~mx23ahs) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.9.9-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.9.9-1-liquorix-amd64
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Warning: The /var/lib/dkms/rtl8821cu/5.12.0/6.9.9-1-liquorix-amd64/x86_64/dkms.conf for module rtl8821cu includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built. Skipping...
Sign command: /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.9.9-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 KVER=6.9.9-1-liquorix-amd64 KSRC=/lib/modules/6.9.9-1-liquorix-amd64/build...(bad exit status: 1)
Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/"@PKGVER@"/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.9.9-1-liquorix-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: fout bij verwerken van pakket linux-image-6.9.9-1-liquorix-amd64 (--configure):
 subproces van pakket linux-image-6.9.9-1-liquorix-amd64 werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
 linux-headers-6.9.9-1-liquorix-amd64
 linux-image-6.9.9-1-liquorix-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Charlie Brown

Re: Failed kernel update Mx-23

#30 Post by Charlie Brown »

So, (I haven't translated yet, but) it looks ok now (you got rid of 6.1.0-23 and other two packages).


These are normal (not related to this issue):

Code: Select all

Error! Bad return status for module build on kernel: 6.9.9-1-liquorix-amd64
That happens mostly about Nvidia, Broadcom, Virtualbox etc... It just gives info: Roughly it says "these ... drivers are not ok with this kernel" ...

Post Reply

Return to “MX Help”