Mange/rtl8192eu-linux-driver

Upgrade to kali 6.1.12-1kali2 failing due to wireless adapater

CustosClarus opened this issue · 0 comments

I'm working to upgrade to latest kali build but it seems the upgrade is breaking due to 3rd party modules used by DKMS( I believe).

Here is output of upgrade.

[sudo] password for asad:
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8192eu/1.0/source/dkms.conf)
rtl8192eu/1.0, 5.16.0-kali7-amd64, x86_64: installed (original_module exists)
virtualbox/7.0.6, 5.16.0-kali7-amd64, x86_64: installed
virtualbox/7.0.6, 6.1.0-kali5-amd64, x86_64: installed


Found theme: /boot/grub/themes/kali/theme.txt
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-kali5-amd64
Found linux image: /boot/vmlinuz-5.16.0-kali7-amd64
Found initrd image: /boot/initrd.img-5.16.0-kali7-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up linux-headers-6.1.0-kali5-amd64 (6.1.12-1kali2) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-kali5-amd64:Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8192eu/1.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8192eu/1.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
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
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8192eu/1.0/source/dkms.conf)
Building module:
Cleaning build area...
'make' all KVER=6.1.0-kali5-amd64..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-kali5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
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-kali5-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-kali5-amd64 (--configure):
installed linux-headers-6.1.0-kali5-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-image-6.1.0-kali5-amd64 (6.1.12-1kali2) ...
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-kali5-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-kali5-amd64:Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8192eu/1.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8192eu/1.0/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/etc/dkms/framework.conf)
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
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8192eu/1.0/source/dkms.conf)
Building module:
Cleaning build area...
'make' all KVER=6.1.0-kali5-amd64..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-kali5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-kali5-amd64 (--configure):
installed linux-image-6.1.0-kali5-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-kali5-amd64 (= 6.1.12-1kali2); however:
Package linux-headers-6.1.0-kali5-amd64 is not configured yet.
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-6.1.0-kali5-amd64 (= 6.1.12-1kali2); however:
Package linux-image-6.1.0-kali5-amd64 is not configured yet.
dpkg: error processing package linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-6.1.0-kali5-amd64
linux-image-6.1.0-kali5-amd64
linux-headers-amd64
linux-image-amd64
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have installed rtl8192eu using DKMS, perhaps it is not able to recognize the module/drivers used by DKMS.

The output of /var/lib/dkms/rtl8192eu/1.0/build/make.lo

https://ctxt.io/2/AACQYO1-Fw