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
apt update -y && apt upgrade -y && apt dist-upgrade
sudo apt-get install linux-headers-$(uname -r)
apt update -y && apt upgrade -y && apt dist-upgrade
uname -r
http://mirror.internode.on.net/pub/kali/pool/main/l/linux/
Discover creative ways to recycle old electronics into new, useful gadgets. Turn your electronic waste…
Explore the top 10 advanced LED projects that go beyond basic lighting. Perfect for electronics…
The integration of UV resin into the PCB production process represents a great achievement and…
Discover essential tips for electronics engineering graduates to gain practical experience, from internships to DIY…
Learn essential tips on setting up your workspace, choosing the right tools, and starting your…
The electronics sector is about to undergo a revolutionary period that will be characterized by…
View 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.