Quando tento instalar algo do GitHub ou mesmo atualizar e atualizar o sistema, a mensagem de erro mostrada abaixo é exibida. Isso está na distribuição Kali. O problema está relacionado ao driver Realtek com adaptador de rede sem fio Alpha. Estou preso nesta situação, então espero que alguém possa ajudar.
Aqui está o resultado quando, por exemplo, tento atualizar o sistema (ou instalar algum software do GitHub, tentar compilar algo etc.):
8814au.ko.xz:
Uninstallation
Deleting from: /lib/modules/6.6.9-amd64/updates/dkms/
Original module
No original module was found for this module on this kernel.
Use the dkms install command to reinstall any previous module version. depmod...... dkms: running auto installation service for kernel 6.6.9-amd64.
88XXau.ko.xz:
Running module version sanity check.
Module version v5.6.4.2_35491.20191025 for 88XXau.ko.xz exactly matches what is already found in kernel 6.6.9-amd64.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
Sign command: /lib/modules/6.6.9-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
/usr/src/realtek-rtl8814au-5.8.5.1~git20231211.866a910/dkms-make.sh..........................................................................................
Signing module /var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20231211.866a910/build/8814au.ko
Cleaning build area...
8814au.ko.xz: Running module version sanity check.
Original module
No original module exists within this kernel
Installation
Installing to /lib/modules/6.6.9-amd64/updates/dkms/ depmod......
88XXau.ko.xz:
Running module version sanity check.
Module version v5.6.4.2_35491.20191025 for 88XXau.ko.xz
exactly matches what is already found in kernel 6.6.9-amd64.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
dkms autoinstall on 6.6.9-amd64/x86_64 succeeded for realtek-rtl8814au
dkms autoinstall on 6.6.9-amd64/x86_64 failed for 8812au(6) realtek- rtl88xxau(6)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.6.9-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.6.9-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.6.9-amd64 (--configure):
installed linux-headers-6.6.9-amd64 package post-installation script subprocess returned error exit status 11
Setting up libtss2-sys1:amd64 (4.0.1-7) ...
Setting up libtss2-tcti-swtpm0:amd64 (4.0.1-7) ...
Setting up libtss2-tcti-libtpms0:amd64 (4.0.1-7) ...
Setting up libtss2-tcti-device0:amd64 (4.0.1-7) ...
Setting up libtss2-tcti-spi-helper0:amd64 (4.0.1-7) ...
Setting up libtss2-tcti-cmd0:amd64 (4.0.1-7) ...
Setting up libtss2-tcti-mssim0:amd64 (4.0.1-7) ...
Setting up libtss2-esys-3.0.2-0:amd64 (4.0.1-7) ...
Setting up libopenconnect5:amd64 (9.12-1+b1) ...
Processing triggers for libc-bin (2.37-12) ... Errors were encountered while processing:
linux-headers-6.6.9-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)
Depois de instalar algum software tento atualizar o sistema operacional, mas não consigo fazer isso por causa do mesmo problema. Alguém pode me ajudar a consertar isso?
Aqui está dkms status
:
8812au/5.6.4.2_35491.20191025, 6.6.9-amd64, x86_64: built
realtek-rtl8814au/5.8.5.1~git20231211.866a910, 6.6.9-amd64, x86_64: installed
realtek-rtl88xxau/5.6.4.2~git20231117.a3e0c0b, 6.6.9-amd64, x86_64: built
e uname -r
saída:
6.6.9-amd64
Em /usr/src/ procure dkms.conf para os módulos
em cada pasta correspondente há um arquivo chamado
Procure nestes arquivos por string
para
então os dkms não tentam construí-los/instalá-los.
também
e
Mas não posso ajudar qual módulo é o certo para sua wlan.