Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: apt-get error - E: Unable to locate package linux-headers-4.6.0-kali1-amd64

  1. #11
    ARM guy
    Join Date
    Feb 2014
    Posts
    205
    Quote Originally Posted by domiflichi View Post
    Thank you steev and _defalt! The


    apt-get dist-upgrade


    did the trick! So I was able to install the drivers after installing the Linux headers!


    (of course now I'm dealing with it not being able to go into monitor mode, but that may be another story for another day)


    Thanks again!

    No problem. The reason monitor mode doesn't work, is the driver is not patched for monitor mode. You'll need to look into doing it yourself, or (preferably) get a wireless card that is considered "supported" for monitor mode.

  2. #12
    Junior Member
    Join Date
    Jan 2017
    Posts
    4
    Quote Originally Posted by _defalt View Post
    Fix repository like this


    Run sudo apt-cache clean && sudo apt-get update && sudo apt-get dist-upgrade


    nothing changes
    Last edited by sdbg; 2017-01-07 at 11:44 AM.

  3. #13
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    614
    sdbg,
    Here is my output of sources.list file:
    cat /etc/apt/sources.list

    #

    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

    deb http://http.kali.org/kali kali-rolling main contrib non-free

    #deb-src http://http.kali.org/kali kali main non-free contrib
    Copy it and try again.

  4. #14
    Junior Member
    Join Date
    Oct 2016
    Posts
    4
    Quote Originally Posted by _defalt View Post
    sdbg,
    Here is my output of sources.list file:


    Copy it and try again.
    Hey,
    I have the exact same problem and none of this has helped solve it. I've tried two fresh installations of kali full and kali light. My uname -r output is always the 4.6.0 kernel and I can't find the appropriate headers anywhere. The system shows that I also have 4.9.0 kernel and headers installed but it keeps using the 4.6.0 image for some reason. Removing the 4.6.0 image obviously results in a broken system. Everything is up to date, my sources list is the official repo as suggested but I can't get the damn headers or change the image so I can't run my VMs until then....
    I'd appreciate some extra input.

  5. #15
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    614
    Quote Originally Posted by Lodos View Post
    Hey,
    I have the exact same problem and none of this has helped solve it. I've tried two fresh installations of kali full and kali light. My uname -r output is always the 4.6.0 kernel and I can't find the appropriate headers anywhere. The system shows that I also have 4.9.0 kernel and headers installed but it keeps using the 4.6.0 image for some reason. Removing the 4.6.0 image obviously results in a broken system. Everything is up to date, my sources list is the official repo as suggested but I can't get the damn headers or change the image so I can't run my VMs until then....
    I'd appreciate some extra input.
    Install weekly image of kali. It is the latest weekly version released by offensive security every week. http://cdimage.kali.org/kali-images/kali-weekly/

Posting Permissions

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