Results 1 to 19 of 19

Thread: Cannot install kernel header linux-headers-4.9.0-kali4-amd64

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2016-Mar
    Posts
    2

    Cannot install kernel header linux-headers-4.9.0-kali4-amd64

    Hello, I'm very frustrated to install header. I've searched thousands of pages but couldn't find a working solution.

    So let me tell you what I did,

    At first, my sources.list is

    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
    Then I did the following;

    1. apt-get update
    2. apt-get upgrade
    3. apt-get dist-upgrade
    4. reboot


    Then I gave

    apt-cache search linux-headers
    and found the header
    linux-headers-4.9.0-kali4-amd64
    Then I looked with
    uname -a and got
    Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux

    Finally I tried to install with
    apt-get install linux-headers-$(uname -r)
    And got the following error:
    HTML Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package linux-headers-4.9.0-kali3-amd64
    E: Couldn't find any package by glob 'linux-headers-4.9.0-kali3-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.9.0-kali3-amd64'
    If I try
    apt-get install linux-headers-4.9.0-kali4-amd64
    then it gives me
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    linux-headers-4.9.0-kali4-amd64 is already the newest version (4.9.25-1kali1).
    The following packages were automatically installed and are no longer required:
      jsql libjs-mochikit python-advancedhttpserver python-alembic python-boltons python-cheetah python-dap
      python-editor python-formencode python-geoip2 python-geojson python-icalendar python-maxminddb
      python-mpltoolkits.basemap python-openid python-pampy python-paste python-pastedeploy
      python-pastedeploy-tpl python-pastescript python-pluginbase python-pyotp python-scgi python-smoke-zephyr
      python-tempita python-termcolor python-tzlocal
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Where it says, "linux-headers-4.9.0-kali4-amd64 is already the newest version (4.9.25-1kali1)"

    But if it is already installed then why do "uname -a" gives

    Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
    Isn't is suppose to give

    Linux kali 4.9.0-kali4-amd64 ............
    P:S. I'm running Kali on persistence USB mode

    Your response would be very much appreciated.

    Thanks,
    Last edited by adhossain; 2017-06-03 at 16:21.

Similar Threads

  1. Cannot install kernel headers (kernel header mismatch)
    By sebos in forum Installing Archive
    Replies: 10
    Last Post: 2022-12-19, 08:11
  2. 2020.4 5.7.0-kali1-amd64 kernel header missing
    By OwnerKL in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-10-28, 13:49
  3. Bug Last Upgrade linux-image-4.19.0-kali4-amd64
    By Normac in forum TroubleShooting Archive
    Replies: 7
    Last Post: 2019-05-13, 01:44

Posting Permissions

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