Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel Headers #24

Open
0xZxyab1 opened this issue Dec 31, 2023 · 4 comments
Open

Kernel Headers #24

0xZxyab1 opened this issue Dec 31, 2023 · 4 comments

Comments

@0xZxyab1
Copy link

┌──(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'

@xiv3r
Copy link

xiv3r commented Dec 31, 2023

try

apt update
apt-cache search linux-headers

and install

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

Or simply install rtl8188eus

apt install realtek-rtl8188eus-dkms -y

@0xZxyab1
Copy link
Author

0xZxyab1 commented Jan 3, 2024

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)

@xiv3r
Copy link

xiv3r commented Jan 7, 2024

Try to fix it using

sudo dpkg --configure -a

@dubhater
Copy link

Have you considered using a newer version of Kali?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants