The package
linux-headers-4.6.0-kali1-amd64
is no longer available on the regularly kali-linux repository, it should be upgraded to the 4.8.x
version.
So to check the latest Version of Linux Header and Linux Image File, Run the Command in your Terminal
apt-cache search
: i.eapt update
apt-cache search linux-headers
then This 2 command will Show you the latest version of Header and Image in your terminal.
Then install the correct package e,g ( this is an example , it depends on the previous output command) :
apt-get install linux-headers-4.18.0-kali1-amd64
also run;
apt-cache search linux-image
install it:
apt-get install linux-image-4.8.0-kali1-amd64
Reboot your system.
Or you can use the following command to upgrade you kernel to the latest available version and install the appropriate kernel headers:
apt update
apt dist-upgrade
reboot
apt install linux-headers-$(uname -r)
0 comments:
Post a Comment