PDA

View Full Version : Possible to install old linux headers?



peter_7793
2016-11-29, 14:05
I am trying to install linux headers on kali linux 2016.1-amd64 but i get 'Unable to locate package linux-headers-4.3.0'. Is it possible to install older version of linux headers package if i don't want to upgrade kali linux?

grid
2016-11-30, 12:39
I'm sure those headers have been removed from the repos. That being said, you can adjust your /etc/apt/sources.list to pull from other repos, but that brings its own set of problems.

Do you have a specific piece of software which needs old headers?

peter_7793
2016-11-30, 16:51
From which other repos i can install version 4.3.0 of linux headers? I need them to install virtualbox additions.

grid
2016-12-01, 12:34
I don't recall the names, but check at docs.kali.org...older repos should be listed there. Failing that, I'd do some Google searching on 4.3.0 linux headers, and see if you can find non-Kali repos.

dunCan
2016-12-01, 13:00
I'm not an expert on this but i think for 2016.1 and 2016.2 it's installing out of the box.

you just put these in sources.list :


deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free


and then :


$ apt-get update # or sudo
$ apt-get install virtualbox


at least it worked for me.

EDiT :

By additions, do you mean this package virtualbox-guest-additions-iso ?

peter_7793
2016-12-01, 20:06
I downloaded the latest version 2016.2 .iso and and installed it on virtualbox and when i tried to install the headers i still got error that it can't find the linux headers, so in the end i got tired looking for solution and downloaded the official virtualbox image of 2016.2 version.

By the way, is it possible to extract the installation linux-headers files and save them for offline install?