I've been trying to install virtualbox on kali-linux. But I ran into a few problems when trying to install Linux headers.
Before installing anything I ran:
$ apt-get upgrade
$ apt-get update
$ apt-get dist-upgrade
and then restarted my computer.
I then used:
$ apt-get install linux-headers-$(uname -r)
And got the following errors:
E: Unable to locate package linux-headers-3.18.0-kali1-amd64
E: Couldn't find any package by regex 'linux-headers-3.18.0-kali1-amd64'
I used apt-cache search to look for packages with 'linux-headers' in the name and got :
linux-headers-3.18.0-kali3-all - All header files for Linux 3.18 (meta-package)
linux-headers-3.18.0-kali3-all-amd64 - All header files for Linux 3.18 (meta-package)
linux-headers-3.18.0-kali3-amd64 - Header files for Linux 3.18.0-kali3-amd64
linux-headers-3.18.0-kali3-common - Common header files for Linux 3.18.0-kali3
linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)
I noticed that most of the packages have kali3, whereas I have kali1. First off, what does the difference in numbers mean? And how would I got about installing the headers on my computer?
I've been looking through forums but could find a solution. Any help would be much appreciated.
Thanks.