I have been trying to install Linux headers for Kali Linux 2020 on my machine and I have tried every possible solution on the internet but it always show “Unable to locate packages “.
E: Unable to locate package linux-headers-5.4.0-kali2-amd64
E: Couldn’t find any package by glob ‘linux-headers-5.4.0-kali2-amd64’
E: Couldn’t find any package by regex ‘linux-headers-5.4.0-kali2-amd64’
After days of googling, I found a solution for installing the linux-headers
The Problems I Faced
What I was trying to do was, trying to install virtual box. Every time I install virtualbox and start virtualbox service, I always ended up with an error. After further troubleshooting, I found that the real issue was with my linux headers. During dependency check, if missing, installer will prompt that kernel headers should be installed.
The Usual Method (Didn’t work for most of us)
Add the correct repositories from Here. Then run this commands in the terminal[AdSense-C]
Kali Linux Auto Login All right guys, I’m going to show you how to set up Kali Linux that it automatically logs in (Enable Kali Linux Auto Login) on the Raspberry Pi. This might be different on a desktop environment or a laptop environment. So it may or may not work there. Steps to Enable…
In my last post, I explained the basics of network. Internet is a collection of computer networks connected through either copper wires, fiber-optic cables or wireless connections. The World Wide Web is one of the services provided by the Internet. But how transparent is this internet and the internet traffic? What are the different levels…
Kali Linux WiFi Adapter Recently Kali Linux 2020 was released which updated the world’s best penetration testing OS with some neat hardware support including some WiFi Adapters to play around with WiFi networks. Here is a list of Best WiFi Adapter For Kali Linux that are 100% compatible with Latest Kali Linux, that can go…
How to Install Linux Headers Kali 2021? Welcome Fellow Hackers and Tinkerers. In this post, we will share a solution for a Kali Linux Headers Issue that most of us have been facing for years. The Annoying “Unable to locate package linux-headers” If you have been playing around with Kali Linux, you might be familiar…
ReelPhish – Defeating Two Factor Authentication using Real Time Phishing Attack Social Engineering Human Beings and their vulnerabilities have always been one of the loop holes in IT security. Even though the technology; software, networks and hardware, have hardened, attackers are using common people, exploiting the lack of their knowledge to get what they want….
Arduino AI Project – Object Tracking Robot Hey, in the previous posts and videos of this Arduino AI Vision Sensor Tutorial series, I told you what a HuskyLens is, what you can do with it and how you can connect HuskyLens to Arduino. How about an Object Tracking Arduino Robot? Guys in this video, I…
0 Comments
Excellent blog here! after reading, i decide to buy a sleeping bag ASAP
I have Kernel 4.15.0-kali2-amd64. I have downloaded the header file for this kernel. But when I’m trying to install it I’m getting below error
”
dpkg: error processing archive efi-modules-4.15.0-kali2-amd64-di_4.15.11-1kali1_amd64.udeb (–install):
trying to overwrite ‘/lib/modules/4.15.0-kali2-amd64/kernel/drivers/firmware/efi/efivars.ko’, which is also in package linux-image-4.15.0-kali2-amd64 4.15.11-1kali1
Errors were encountered while processing:
efi-modules-4.15.0-kali2-amd64-di_4.15.11-1kali1_amd64.udeb
”
If anyone have any solution for this please assist. I’m trying to configure it since last 4 days but not working for me.
Thanks in advance.
Excellent blog here! after reading, i decide to buy a sleeping bag ASAP
I have Kernel 4.15.0-kali2-amd64. I have downloaded the header file for this kernel. But when I’m trying to install it I’m getting below error
”
dpkg: error processing archive efi-modules-4.15.0-kali2-amd64-di_4.15.11-1kali1_amd64.udeb (–install):
trying to overwrite ‘/lib/modules/4.15.0-kali2-amd64/kernel/drivers/firmware/efi/efivars.ko’, which is also in package linux-image-4.15.0-kali2-amd64 4.15.11-1kali1
Errors were encountered while processing:
efi-modules-4.15.0-kali2-amd64-di_4.15.11-1kali1_amd64.udeb
”
If anyone have any solution for this please assist. I’m trying to configure it since last 4 days but not working for me.
Thanks in advance.