ivanovborislav / rtl8188eu

Realtek RTL8188EU v5.13.3 (2021-06-15) Wireless Lan Driver for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kernel Headers

0xZxyab1 opened this issue · comments

┌──(root㉿kali)-[~/rtl8188eu]
└─# sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-4.19.157-perf-gcbd64b102864
E: Couldn't find any package by glob 'linux-headers-4.19.157-perf-gcbd64b102864'
E: Couldn't find any package by regex 'linux-headers-4.19.157-perf-gcbd64b102864'

try

apt update
apt-cache search linux-headers

and install

apt install linux-headers-*********

Or simply install rtl8188eus

apt install realtek-rtl8188eus-dkms -y

try

apt update
apt-cache search linux-headers

and install

apt install linux-headers-*********

Or simply install rtl8188eus

apt install realtek-rtl8188eus-dkms -y

┌──(root㉿kali)-[/lib/modules] └─# apt install realtek-rtl8188eus-dkms -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: realtek-rtl8188eus-dkms 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 1,493 kB of archives. After this operation, 12.1 MB of additional disk space will be used. Get:1 http://http.kali.org/kali kali-rolling/contrib arm64 realtek-rtl8188eus-dkms all 5.3.9git20230101.f8ead57-0kali2 [1,493 kB] Fetched 1,493 kB in 7s (207 kB/s) Selecting previously unselected package realtek-rtl8188eus-dkms. (Reading database ... 373546 files and directories currently installed.) Preparing to unpack .../realtek-rtl8188eus-dkms_5.3.9git20230101.f8ead57-0kali2_all.deb ... Unpacking realtek-rtl8188eus-dkms (5.3.9git20230101.f8ead57-0kali2) ... Setting up realtek-rtl8188eus-dkms (5.3.9git20230101.f8ead57-0kali2) ... Loading new realtek-rtl8188eus-5.3.9git20230101.f8ead57 DKMS files... It is likely that 4.19.157-/Mi680/Fog/Rais-Kribo-[2.2.0]-g4b192c3f663b-dirty belongs to a chroot's host Building for 6.5.0-kali3-arm64 Building initial module for 6.5.0-kali3-arm64 Error! Bad return status for module build on kernel: 6.5.0-kali3-arm64 (aarch64)Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9git20230101.f8ead57/build/make.log for more information. dpkg: error processing package realtek-rtl8188eus-dkms (--configure): installed realtek-rtl8188eus-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: realtek-rtl8188eus-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)

Try to fix it using

sudo dpkg --configure -a