I have a problem with my Kali Linux, I am getting an error while installing virtual box guest addition. I have Windows 8.1 64-bit and I have installed virtual box latest version 4.3.28 in my windows. I have installed latest version of Kali Linux "1.1.0 32-bit" in my virtual box successfully. But when I install virtual box guest additions in it it shows error. The error is occurring when I run this command in my terminal
"apt-get install linux-headers-$(uname -r) -y"
Please help me to install virtual box guest additions in the correct way.
And I am getting the following error :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.18.0-kali3-686-pae
E: Couldn't find any package by regex 'linux-headers-3.18.0-kali3-686-pae'
Best Answer
Mine was fixed by editing /etc/apt/sources.list to the following:
Then running:
Source: https://forums.kali.org/showthread.php?26478-cant-install-linux-header-kali-sana-vmware-player&p=47698&viewfull=1#post47698
Then running: