I’ve just installed a Kali Linux in my VirtualBox. The next step is to install VirtualBox Guest Additions in Kali Linux in order to have proper mouse, screen integration and folder sharing with my host system.
Unfortunately, once I’ve run the following command, I was getting the following error message.
Command
apt-get update && apt-get install -y linux-headers-$(uname -r)
Error
E: Unable to locate package linux-headers-3.7-trunk-686-pae
E: Couldn’t find any package by regex ‘linux-headers-3.7-trunk-686-pae’
Example
root@kali:~# apt-get update && apt-get install -y linux-headers-$(uname -r)
Hit http://security.kali.org kali/updates InRelease
Hit http://security.kali.org kali/updates/main i386 Packages
Hit http://security.kali.org kali/updates/contrib i386 Packages
Hit http://security.kali.org kali/updates/non-free i386 Packages
Ign http://security.kali.org kali/updates/contrib Translation-en_US
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en_US
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en_US
Ign http://security.kali.org kali/updates/non-free Translation-en
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package linux-headers-3.7-trunk-686-pae
E: Couldn’t find any package by regex ‘linux-headers-3.7-trunk-686-pae’
root@kali:~#
Please let me know if you have any solutions for this.
REFERENCE:
http://docs.kali.org/general-use/kali-linux-virtual-box-guest
https://forums.kali.org/archive/index.php/t-74.html
for some reason it’s missing a necessary repo
see http://alexmd.wordpress.com/tag/virtual-box/
Thanks IVIrys for the info. I really appreciate it. 🙂
I’ve just installed a Kali Linux in my VirtualBox. The next step is to install VirtualBox Guest Additions in Kali Linux in order to have proper mouse, screen integration and folder sharing with my host system.
this problem
E: Unable to locate package linux-headers-3.7-trunk-686-pae
E: Couldn’t find any package by regex ‘linux-headers-3.7-trunk-686-pae
sources.list
apt-get install linux-headers-$(uname -r)
Did you opt no for network mirror on installation?