PDA

View Full Version : linux-headers-4.14.0-kali3-amd64 has no installation candidate



djones05
2018-03-30, 21:45
Hi,

Anyone of you have encountered an issue with installing VirtualBox Addition?

I have installed Kali Linux 2018.1 and done the following to enable full screen, drag and drop and shared clipboard to the host machine.

#apt-get update && apt-get upgrade -y
#apt-get install -y virtualbox-guest-x11
#reboot

It didn't work and then I tried to load the Guest Additions CD:
Virtual Box Menu: Devices -> Insert Guest Additions CD
#mkdir VBox
#cp -Rv /media/cdrom0/* ~/Vbox/
#cd Vbox/
#chmod +x VBoxLinuxAdditions.run
#./VBoxLinuxAdditions.run

Then it showed the following error:

This system is not currently setup to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-amd64 linux-headers-4.14.0-kali3-amd64

This is really absurd. I tried to "apt-cache search linux-headers-4.14.0-kali3-amd64", but nothing was found. I've tried "apt-cache search linux-headers" and it only showed for kernel version 4.15.

Why would they remove the header file in the repository for kernel 4.14 when Kali Linux kernel version 4.15 is not even available???

_defalt
2018-03-31, 21:11
sudo apt update && sudo apt upgrade && sudo apt dist-upgrade
sudo apt install linux-headers-$(uname -r)

kenpocory
2018-04-01, 01:37
I have the same exact issue. Update, upgrade and dist-upgrade do not resolve it. Also, apt cach-search only returns 4.15.0-kali2 headers for me as well. I didnt have this issue until I installed the new 2018.1 today and have yet to find a fix for it.

patrickk83
2018-04-01, 07:05
Same issue here. I downloaded a pre-build open virtualization archive. No way to get linux-headers installed on the 2018.1

vindn
2018-04-01, 21:02
Same issue.

_defalt
2018-04-02, 11:14
I have the same exact issue. Update, upgrade and dist-upgrade do not resolve it. Also, apt cach-search only returns 4.15.0-kali2 headers for me as well. I didnt have this issue until I installed the new 2018.1 today and have yet to find a fix for it.
After update and upgrade, reboot is required.

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
reboot
sudo apt install linux-headers-$(uname -r)

BeHumble
2018-04-02, 12:09
Download and install linux-headers-4.15.0-kali2-amd64 and linux-image-4.15.0-kali2-amd64, reboot and you should be good to go.
Or use apt-cache search linux-headers and find then newest ones there and install them same with the image