Results 1 to 30 of 30

Thread: Error loading linux-headers-4.14.0-kali3-amd64

  1. #1
    Join Date
    2018-Mar
    Posts
    1

    Error loading linux-headers-4.14.0-kali3-amd64

    Hi.
    I need to install a video card driver but I can't install linux-headers-4.14.0-kali3-amd64. For some reason, the package is not in the repository
    My repolist:
    Code:
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    Output command apt-get install linux-headers-$(uname -r):
    Code:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package linux-headers-4.14.0-kali3-amd64 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or is only available from another source
    
    E: Package 'linux-headers-4.14.0-kali3-amd64' has no installation candidate
    What can you think of guys?

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    First do an upgrade.
    sudo apt update && sudo apt upgrade

  3. #3
    Join Date
    2018-Mar
    Location
    Australia
    Posts
    5
    That doesn't work.
    I have the same problem.
    In the repository, they have updated the kernel headers to 4.15, however the new kernel for that version isn't up yet.
    They have taken down the headers for linux-headers-4.14.0-kali3-amd64
    So... there is an repository mismatch, and until they fix that, there's broken dependencies that can't be met.
    My error messages say words about trying to update an impossible situation, and I'm holding broken packages.
    So.....
    I guess my question is - can we still get the linux-headers-4.14.0-kali3-amd64 package from some old repository archive by putting another source in sources.list?

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Can you show the output of uname -r

  5. #5
    Join Date
    2018-Mar
    Location
    Australia
    Posts
    5
    You must think I'm stupid mate. I wouldn't asking about this kernel if the output of uname -r wasn't 4.14.0-kali3-amd64.
    I've been through all the update & upgrade steps, including the fix broken and fix missing stuff. I repeat the eror messages say it's an impossible situation and I'm holding broken packages.

    Check the available packages in the repository mate. All this 4.15xxx header stuff is there, but the ones we want aren't.
    I can't install linux-headers-amd64 either as it says linux-headers-4.14.0-kali3-amd64 are a dependency and that can't be met.

    This issue has effectively broken the pure 2018.1 release ISO, as when you try and get anything working that needs headers - like installing VirtualBox guest additions, or USB wireless card kernel modules for quite new cards - we are stuffed because the headers are no longer available.

    Real question is why can't Kali include headers in ISO's, like other distros do.
    I'll ask again - are the headers we want available from a non-default repository, or don't you know?
    Meantime, I'm looking myself.

  6. #6
    Join Date
    2018-Mar
    Location
    Australia
    Posts
    5
    They aren't in the old Kali Sana repository either. Just checked. I didn't think they would be.
    Same error message:
    "Package linux-headers-4.14.0-kali3-amd64 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or is only available from another source."

    I hope after Easter is over, they fix this anomaly quickly.

  7. #7
    Join Date
    2013-Jul
    Posts
    4
    I have the same problem when trying to install virtualbox.
    The uname -r returns : 4.14.0-kali3-amd64 but the package in the repository is 4.15.0-kali2-amd64.
    I'm not sure whether it's a good idea to install the package manually or wait for the repo to be fixed.

  8. #8
    Join Date
    2018-Apr
    Posts
    3
    I am experiencing the same problem here. I am trying to configure my VM to full screen and I got stuck on this bug! What is the solution out?

  9. #9
    Join Date
    2018-Apr
    Posts
    3
    The update and upgrade command are of no help here.

  10. #10
    Join Date
    2018-Apr
    Posts
    3
    Here is it friend. linux-headers-4.14.0-kali3-amd64

  11. #11
    Join Date
    2018-Mar
    Location
    Australia
    Posts
    5
    I've just check the repo again.
    Kernel 4.15.0 and the headers to go with it are both now up.
    So - I upgraded to the linux-image-4.15.0-kali2-amd64 and also the matching linux-headers package.
    All's good now. I can compile kernel modules again and load VirtualBox-Guest-Additions in a linux guest now, no problems.
    Your answer @mrNove is to upgrade to the 4.15.0 kernel, as the linux headers are there and installable for that new kernel.

  12. #12
    Join Date
    2018-Apr
    Posts
    1
    Quote Originally Posted by JGB View Post
    I've just check the repo again.
    Kernel 4.15.0 and the headers to go with it are both now up.
    So - I upgraded to the linux-image-4.15.0-kali2-amd64 and also the matching linux-headers package.
    All's good now. I can compile kernel modules again and load VirtualBox-Guest-Additions in a linux guest now, no problems.
    Your answer @mrNove is to upgrade to the 4.15.0 kernel, as the linux headers are there and installable for that new kernel.
    Hey there, i got the same problem too.
    I'm new to Linux and Kali and right now i'm looking for a command how to browse the repository files.
    what i did till now is:
    - installing Kali 2018.1 in a VirtualMachine with VBox
    Now i want to add the Guest Additions for Fullscreen Support and so on.
    removed the hash in sources.list for source packages and ran

    apt update
    apt upgrade
    reboot
    apt dist-upgrade
    apt full-upgrade
    # maybe redundant but says i'm up to date

    apt install linux-headers-$(uname -r)

    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'linux-headers-4.14.0-kali3-amd64' has no installation candidate

    uname -r shows me
    4.14.0-kali3-amd64

    dont understand here why and how you "upgrade" to linux-image4.15.0-kali2-amd64 since it's kali3?! isnt that a downgrade?!
    new to this and obviously a stupid question but i wanna get into it and maybe one is so kind to help a beginner a bit..

  13. #13
    Join Date
    2018-Apr
    Posts
    1
    I have had the same problem. But i just performed an "apt-get update && apt-get upgrade" and "uname -r" still returned 4.14.0-kali3-amd64.

    So i searched the repositories [$ apt search 4.15] and found the new packages (image and header files)

    $ apt install linux-headers-4.15.0-kali2-amd64

    $ apt install linux-image-4.15.0-kali2-amd64

    And performed a reboot...

    Then: $ ./VBoxLinuxAdditions.run

    Reboot again, et voila!!

    I hope this helps someone.

  14. #14
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    @JGB In repositories, Linux headers are available for the latest kernel version. Your kali image was old and isn't updated. You were supposed to
    sudo apt update && sudo apt upgrade && sudo apt dist-upgrade

    Then a reboot is required.

    Then only you can install latest kernel headers.
    sudo apt install linux-headers-$(uname -r)

    People forget to reboot after kernel upgrade.

  15. #15
    Join Date
    2018-Apr
    Posts
    1
    Quote Originally Posted by _defalt View Post
    @JGB In repositories, Linux headers are available for the latest kernel version. Your kali image was old and isn't updated. You were supposed to
    sudo apt update && sudo apt upgrade && sudo apt dist-upgrade

    Then a reboot is required.

    Then only you can install latest kernel headers.
    sudo apt install linux-headers-$(uname -r)

    People forget to reboot after kernel upgrade.
    None of the commands above work for me.
    ~# apt install linux-image-4.15.0-kali2-amd64
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-image-4.15.0-kali2-amd64
    E: Couldn't find any package by glob 'linux-image-4.15.0-kali2-amd64'
    E: Couldn't find any package by regex 'linux-image-4.15.0-kali2-amd64'

  16. #16
    Join Date
    2018-Apr
    Posts
    2
    Quote Originally Posted by PaperTrail View Post
    I have had the same problem. But i just performed an "apt-get update && apt-get upgrade" and "uname -r" still returned 4.14.0-kali3-amd64.

    So i searched the repositories [$ apt search 4.15] and found the new packages (image and header files)

    $ apt install linux-headers-4.15.0-kali2-amd64

    $ apt install linux-image-4.15.0-kali2-amd64

    And performed a reboot...

    Then: $ ./VBoxLinuxAdditions.run

    Reboot again, et voila!!

    I hope this helps someone.
    That was exactly what I needed. Thanks man!

  17. #17
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by cristyanul View Post
    None of the commands above work for me.
    ~# apt install linux-image-4.15.0-kali2-amd64
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-image-4.15.0-kali2-amd64
    E: Couldn't find any package by glob 'linux-image-4.15.0-kali2-amd64'
    E: Couldn't find any package by regex 'linux-image-4.15.0-kali2-amd64'
    I didn't ask you run this command.

  18. #18
    Join Date
    2013-Jul
    Posts
    4
    Quote Originally Posted by PaperTrail View Post
    I have had the same problem. But i just performed an "apt-get update && apt-get upgrade" and "uname -r" still returned 4.14.0-kali3-amd64.

    So i searched the repositories [$ apt search 4.15] and found the new packages (image and header files)

    $ apt install linux-headers-4.15.0-kali2-amd64

    $ apt install linux-image-4.15.0-kali2-amd64

    And performed a reboot...

    Then: $ ./VBoxLinuxAdditions.run

    Reboot again, et voila!!

    I hope this helps someone.
    This should indeed work!
    I don't know what was happening with my system but even with the update/upgrade/dist-upgrade and reboot my kernel was still the same (I'm on KDE).

    I actually solved this by using the GUI. It was saying that updates are available even though I already updated (think they weren't installed correctly or smth).
    When I rebooted after the updates being installed, I saw the correct kernel in the advanced grub options but when I logged in I was prompted with a black screen and only a mouse pointer (somehing went really wrong with kde).
    I opened a shell session with CTRL+Alt+F1 and ran: sudo dpkg --configure -a
    When I rebooted, everything was working correctly with the new header.

    Hope this helps someone.

  19. #19
    Join Date
    2018-Apr
    Posts
    1
    Did you get this issue resolved? I keep getting the same result.

    ~# apt install linux-headers-4.15.0-kali2-amd64
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.15.0-kali2-amd64
    E: Couldn't find any package by glob 'linux-headers-4.15.0-kali2-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.15.0-kali2-amd64'

  20. #20
    Join Date
    2018-Apr
    Posts
    1
    This worked for me, thanks!

  21. #21
    Join Date
    2018-May
    Posts
    1
    Hi.
    I need to install a video card driver but I can't install linux-headers-4.14.0-kali3-amd64. For some reason, the package is not in the repository
    My repolist:''

    Code:
    deb http://repo.stikom.edu/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line


    After

    sudo apt update && sudo apt upgrade

    linux-image-4.14.0-kali3-amd64 ----> Install Success

  22. #22
    Just offering a note that was relevant to me, but has nothing to do with Kali.

    If you are behind a web proxy that blocks kali.org - well nothing is going to work off of base installation.

    Common sense, but easy to miss. If you can't connect to repos or have weird things going on similar to most of what I've seen in this thread. Turn on your mobile hotspot, pull your hard cord and try again.

    H4P

  23. #23
    Join Date
    2018-Apr
    Posts
    4
    this is actually relative to an issue im having with my system, same package and header issues only my system is broken if i install it which is annoying af. apologies for the dual post here, but i hadn't spotted this thread prior to posting in the kali install section, the details of my issue are as follows;

    https://forums.kali.org/showthread.p...-and-upgrading

    "ive got a very strange issue with my persistent usb, if i apt-get upgrade (or any variation of) it breaks mouse and keyboard and i have to reinstall.
    i discovered that the package linux-image-4.14.0-kali3-amd64 is the root cause

    if I mark the package with apt-mark (apt-mark hold linux-image-4.14.0-kali3-amd64) the package is held back and everything works as it should.
    untill it comes to installing the drivers for my bcm43 NIC, after installing the drivers which i know usually work, and run modprobe wl
    i get an error of: modprobe: FATAL: Module wl not found in directory /lib/modules/4.14.0-kali3-amd64

    it appears that the module i need for my wifi is the same one that breaks my keyboard and mouse which is annoying.

    but whats more annoying is that after updating my headers, there has appeared a module: 4.15.0-kali2-amd64 and the wl drivers appear to have been installed into this. but when trying to run modprobe wl command it searches in 4.14.0 and fails. ive tried all sorts to get this to work and no dice with anything.

    i want to do full-upgrade, but cant out of fear that it will once again break my mouse and keyboard if i do not flag the package mentioned above.

    one thing i would like to do is clone the entire drive and file system and run tests on the clones first. but clones never seem to just be 1-2-1 copies, and the persistence partitions seem to become corrupt or broken."

    after seeing a lot of varying issues based around the "
    linux-image-4.14.0-kali3-amd64" package, i was wondering if doing another full-upgrade to the latest kali 2018.2 might fix the problems but i cant find any info on if any of the problems have been fixed yet

  24. #24
    Join Date
    2018-May
    Posts
    1
    Make sure that packages are up to date or run following command.VMware recommends using the distribution-specific open-vm-tools (OVT) instead of the VMware Tools package for guest machines. To install open-vm-tools in Kali, first make sure you are fully updated, and then enter the following:




    Check the version:


    root@kali:~# uname -a
    Linux kali 4.15.0-kali2-amd64


    Download approximate deb file from http://ftp.tku.edu.tw/kali/pool/main/l/linux/


    install the package
    dpkg -i Linux kali 4.15.0-kali2-amd64.deb




    apt update && apt -y full-upgrade


    apt-get install open-vm-tools-desktop fuse

  25. #25
    add http://old.kali.org/kali sana main non-free contrib to your /etc/apt/apt.conf
    then run apt update && apt upgrade

  26. #26
    Join Date
    2018-Jun
    Posts
    1
    i am havin this issue with i2p but when i run the live usb version everything works great after i install even if it is fresh it says e:unable to lcate package i2p
    i am running kali linux as primary os on my PC and i can't find a solution i cannot install anything

  27. #27

    Fixed thank you!

    Thank you! This totally fixed it! Great Job!



    Quote Originally Posted by newp_th View Post
    Make sure that packages are up to date or run following command.VMware recommends using the distribution-specific open-vm-tools (OVT) instead of the VMware Tools package for guest machines. To install open-vm-tools in Kali, first make sure you are fully updated, and then enter the following:




    Check the version:


    root@kali:~# uname -a
    Linux kali 4.15.0-kali2-amd64


    Download approximate deb file from http://ftp.tku.edu.tw/kali/pool/main/l/linux/


    install the package
    dpkg -i Linux kali 4.15.0-kali2-amd64.deb




    apt update && apt -y full-upgrade


    apt-get install open-vm-tools-desktop fuse

  28. #28
    Join Date
    2018-Jun
    Posts
    1
    I also need the file linux-headers-4.14.0-kali3-amd64. I have a driver for TP-Link TL-WN722N that does not working with anything new than 4.14 so upgrading is not an option. Is there any mirror where I can get the older files?

    Stephan

  29. #29
    Join Date
    2018-Jun
    Posts
    1

    Unable to locate package linux-headers-4.15.0-kali2-amd64

    Quote Originally Posted by PaperTrail View Post
    I have had the same problem. But i just performed an "apt-get update && apt-get upgrade" and "uname -r" still returned 4.14.0-kali3-amd64.

    So i searched the repositories [$ apt search 4.15] and found the new packages (image and header files)

    $ apt install linux-headers-4.15.0-kali2-amd64

    $ apt install linux-image-4.15.0-kali2-amd64

    And performed a reboot...

    Then: $ ./VBoxLinuxAdditions.run

    Reboot again, et voila!!

    I hope this helps someone.

    When I ran above commands, I got unbale to loacte package error.

  30. #30
    Join Date
    2018-Jul
    Posts
    1
    MY SOLUTION

    root@kali
    :~# cd ..
    root@kali:/# ls
    0 dev initrd.img lib64 mnt root srv usr vmlinuz.old
    bin etc initrd.img.old lost+found opt run sys var
    boot home lib media proc sbin tmp vmlinuz
    root@kali:/# cd lib
    root@kali:/lib# ls
    apparmor ifupdown security
    console-setup init systemd
    cpp klibc-SeBjdSgcGwU_i_znDl2u5bLjR7c.so terminfo
    crda live udev
    cryptsetup lsb x86_64-linux-gnu
    firmware modprobe.d
    hdparm modules
    root@kali:/lib# cd modules
    root@kali:/lib/modules# ls
    4.14.0-kali3-amd64 4.16.0-kali2-amd64

    root@kali:~# apt install linux-image-4.16.0-kali2-amd64
    root@kali:~# apt install linux-headers-4.16.0-kali2-amd64

    root@kali:~# reboot

    root@kali:~# ./VboxLinuxAdditions.run
    root@kali:~# apt-get update && apt-get install linux-headers-$(uname -r) -y

    root@kali:~# reboot

    That was my solution, I hope it's also from others

Similar Threads

  1. linux-headers-4.14.0-kali3-amd64 has no installation candidate
    By djones05 in forum TroubleShooting Archive
    Replies: 6
    Last Post: 2018-04-02, 12:09
  2. Replies: 14
    Last Post: 2017-04-21, 12:25
  3. 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
  •