Results 1 to 7 of 7

Thread: linux-headers-4.14.0-kali3-amd64 has no installation candidate

  1. #1
    Join Date
    2018-Mar
    Posts
    1

    Angry linux-headers-4.14.0-kali3-amd64 has no installation candidate

    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???

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    sudo apt update && sudo apt upgrade && sudo apt dist-upgrade
    sudo apt install linux-headers-$(uname -r)

  3. #3
    Join Date
    2018-Apr
    Posts
    2
    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.

  4. #4
    Join Date
    2018-Apr
    Posts
    1
    Same issue here. I downloaded a pre-build open virtualization archive. No way to get linux-headers installed on the 2018.1

  5. #5
    Join Date
    2018-Apr
    Posts
    1
    Same issue.

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by kenpocory View Post
    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)

  7. #7
    Join Date
    2018-Apr
    Posts
    2
    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

Similar Threads

  1. Error loading linux-headers-4.14.0-kali3-amd64
    By mrNove in forum TroubleShooting Archive
    Replies: 29
    Last Post: 2018-07-05, 01:31
  2. Replies: 2
    Last Post: 2015-07-09, 20:24

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •