Results 1 to 6 of 6

Thread: Unable to locate package linux-headers-4.3.0-kalil-686-pae

  1. #1

    Unable to locate package linux-headers-4.3.0-kalil-686-pae

    Hello,

    I'm trying to install the linux headers for my system and I'm unable to locate the specific package. I read that if I input the following command:
    Code:
    apt-get install linux-headers-$(uname -r)
    then the headers should be installed correctly. However, it seems it's unable to find the package associated with my system:

    Code:
    E: Unable to locate package by 'linux-headers-4.3.0-kalil-686-pae'
    E: Couldn't find any package by glob 'linux-headers-4.3.0-kalil-686-pae'
    E: Couldn't find any package by regex 'linux-headers-4.3.0-kalil-686-pae'
    I am running a 32-bit Kali OS from a live usb with persistence. I have fully upgraded by system (then restarted it) by running:
    Code:
    apt-get update && apt-get full-upgrade
    I have verified that their are no available packages left by running
    Code:
    apt list --upgradeable
    which returns "Listing... Done".

    I have not modified my source list either, here's the sources.list:

    Code:
    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
    I have tried looking out other threads on the forum about this issue, see this and this, yet the suggestions haven't worked.

    Any suggestions or comments on how to fix this are greatly appreciated, thank you!
    Last edited by Farenheit451; 2016-04-18 at 02:49.

  2. #2
    We only keep the latest kernel headers in the repo. We are currently on 4.4 (not 4.3).
    You need to make sure your repo values are correct, apt-get update, apt-get dist-upgrade, reboot (and make sure you use the newer kernel), then install the headers.
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  3. #3
    Quote Originally Posted by g0tmi1k View Post
    We only keep the latest kernel headers in the repo. We are currently on 4.4 (not 4.3).
    You need to make sure your repo values are correct, apt-get update, apt-get dist-upgrade, reboot (and make sure you use the newer kernel), then install the headers.
    Hi g0tmi1k,

    Thanks for taking the time to help me out.

    The funny thing is that I have tried running all of those commands listed above (apt-get update, apt-get dist-upgrade, rebooting)--every time I run them APT essentially says there are no additional packages available. I have verified my source list is correct as per the official kali site (I listed them above in my original post).

    Interesting note: I found today that although uname -r returns 4.3.0-kali1-686-pae, it seems I already have the 4.4.0 headers installed according to APT:
    Code:
    root@kali:~# apt-get install linux-headers-4.4.0-kali1-686-pae 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    linux-headers-4.4.0-kali1-686-pae is already the newest version (4.4.6-1kali1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Perhaps there's a disconnect between the value returned in the uname command and the actual packages installed in the system?

    Whatever the case is, even though it says it's installed, when I try to install the backport drivers for my wireless card it says that I don't have the kernel headers, so something is still clearly off.

    Many thanks, I truly appreciate your time and hope to hear from you soon,

    F451
    Last edited by Farenheit451; 2016-04-19 at 01:48.

  4. #4
    Join Date
    2016-Apr
    Posts
    100
    Quote Originally Posted by Farenheit451 View Post
    Hi g0tmi1k,

    Interesting note: I found today that although uname -r returns 4.3.0-kali1-686-pae, it seems I already have the 4.4.0 headers installed according to APT:
    Run update-grub and reboot into your new kernel.

  5. #5
    Join Date
    2016-Apr
    Posts
    100
    You can also check the repos with:
    Code:
    root@stealth:~# apt-cache search 686-pae
    linux-headers-4.4.0-kali1-686-pae - Header files for Linux 4.4.0-kali1-686-pae
    linux-headers-686-pae - Header files for Linux 686-pae configuration (meta-package)
    linux-image-4.4.0-kali1-686-pae - Linux 4.4 for modern PCs
    linux-image-4.4.0-kali1-686-pae-dbg - Debugging symbols for Linux 4.4.0-kali1-686-pae
    linux-image-686-pae - Linux for modern PCs (meta-package)
    linux-image-686-pae-dbg - Debugging symbols for Linux 686-pae configuration (meta-package)
    nvidia-kernel-4.4.0-kali1-686-pae - NVIDIA binary kernel module for Linux 4.4.0-kali1-686-pae
    nvidia-kernel-686-pae - NVIDIA kernel module for Linux (686-pae flavor)
    root@stealth:~#

  6. #6
    Join Date
    2016-Jun
    Posts
    2
    Quote Originally Posted by P373 View Post
    Run update-grub and reboot into your new kernel.
    Just my 2 cents here. i had a similar issue. After hours I found out that I had 2 kernels installed but there was no entry in grub for the newer one.

    What I did was to remove all files related to old kernel in /boot/ folder. I don't know if it is the perfect way or not. But this worked.

    Don't forget to update-grub after removing.

Similar Threads

  1. Unable to locate package linux-headers-3.4.67
    By goaismine in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-03-13, 08:37
  2. Replies: 2
    Last Post: 2015-07-09, 20:24

Posting Permissions

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