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

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

  1. #11
    Junior Member
    Join Date
    Jul 2017
    Posts
    5

    Change the ISP, Waiting for Headers issue will be resolved

    Hi Friends,

    I am also facing the same problem. I use Win10 Laptop with VMplayer installed. Earlier I had downloaded Kali VM image from the office website. Configured & powered on successfully. First command I used is apt-get update to check is there any thing needs an update. After executing the command. I have noticed that it is getting stuck at Waiting for Headers... After 10-15 Minutes, I gives error.

    Searched Google and tried updating the repositories but still the same. Also tried setting up a port forwarding, but still the same.


    root@kali:~# apt-get update
    Ign:1 http://http.kali.org/kali kali-rolling InRelease
    Err:2 http://http.kali.org/kali kali-rolling Release
    Connection failed
    Reading package lists... Done
    E: The repository 'http://http.kali.org/kali kali-rolling Release' does no longer have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    root@kali:~# apt-get install linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    linux-headers-4.9.0-kali3-amd64 is already the newest version (4.9.18-1kali1).
    0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.

    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


    Finally I given a try changing the Internet ISP i.e, earlier using home broadband and now connected the system to the Mobile Internet(different ISP). Voila...

    It worked. I am successfully updated the Kali linux - Downloaded around 886MB updates.

    Now again connected back to cable broadband and the again the issue started. It is getting stuck at Waiting for headers. So now thinking where is the problem, whether it is in the router / connected internet.

    Not only the Waiting for headers, I am unable to open the Webpage cdimage.kali.org as well as http://http.kali.org.
    Last edited by CrazyArjun; 2017-07-28 at 06:27 PM. Reason: Quote is not applied properly

  2. #12
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    658
    To check if that's not the problem with your ISP, generate ping request to repo servers.

  3. #13
    Junior Member
    Join Date
    Jul 2017
    Posts
    5
    Please find the below info.

    C:\Users\Crazy>tracert cdimage.kali.org

    Tracing route to cdimage.kali.org [192.99.200.113]
    over a maximum of 30 hops:

    1 <1 ms <1 ms <1 ms ROUTERNAME [xx.xx.xx.xx]
    2 5 ms 2 ms 4 ms xx.xx.xx.xx
    3 * * * Request timed out.
    4 2 ms 2 ms 2 ms 1.186.35.13.dvois.com [1.186.35.13]
    5 4 ms 2 ms 2 ms 1.186.32.209.dvois.com [1.186.32.209]
    6 24 ms 22 ms 30 ms 125.21.255.125
    7 162 ms 172 ms 152 ms 182.79.187.26
    8 * * * Request timed out.
    9 * * * Request timed out.
    10 * * * Request timed out.
    11 * * * Request timed out.
    12 * * * Request timed out.
    13 * * * Request timed out.
    14 * * * Request timed out.
    15 * * * Request timed out.
    16 * * * Request timed out.
    17 * * * Request timed out.
    18 * * * Request timed out.
    19 * * * Request timed out.
    20 * * * Request timed out.
    21 * * * Request timed out.
    22 * * * Request timed out.
    23 * * * Request timed out.
    24 * * * Request timed out.
    25 * * * Request timed out.
    26 * * * Request timed out.
    27 * * * Request timed out.
    28 * * * Request timed out.
    29 * * * Request timed out.
    30 * * * Request timed out.

    Trace complete.



    C:\Users\Crazy>ping kali.org

    Pinging kali.org [192.124.249.10] with 32 bytes of data:
    Reply from 192.124.249.10: bytes=32 time=151ms TTL=52
    Reply from 192.124.249.10: bytes=32 time=151ms TTL=52
    Reply from 192.124.249.10: bytes=32 time=152ms TTL=52
    Reply from 192.124.249.10: bytes=32 time=151ms TTL=52

    Ping statistics for 192.124.249.10:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 151ms, Maximum = 152ms, Average = 151ms


    C:\Users\Crazy>ping cdimage.kali.org

    Pinging cdimage.kali.org [192.99.200.113] with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.

    Ping statistics for 192.99.200.113:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


    C:\Users\Crazy>ping http.kali.org

    Pinging hebe.kali.org [192.99.200.113] with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.

    Ping statistics for 192.99.200.113:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

  4. #14
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    658
    It looks like a problem with your ISP. You should report them why they are blocking kali repo. Do not use the DNS server of your ISP. Switch to 8.8.8.8 & 8.8.4.4

  5. #15
    Junior Member
    Join Date
    Jul 2017
    Posts
    5
    Thanks for the response and suggestion. I have informed them about the issue and they are investigating it. I have also switched the DNS to 8.8.8.8 and 8.8.4.4 as well.

  6. #16
    Junior Member
    Join Date
    Jul 2017
    Posts
    5
    Still the issue persists. ISP is unable to confirm the issue is from their side. They say issue is from my system or router a they are able to browse from their systems. How to identify that my router is making this problem? I know for sure that my system do not have a problem. Kali VM is making a successful connection to the http.kali.org if I switch to a different ISP internet.

    I am using Mi Router 3C. Please advise.

  7. #17
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    658
    Change your ISP and show them that it was the problem with their routing.

  8. #18
    Junior Member
    Join Date
    Aug 2017
    Posts
    1
    Hello Arman

    I tried your commands and it worked!!!!

    sources.list

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

    #deb-src http://http.kali.org/kali kali main non-free contri




    before
    Linux kali 4.9.0-kali1-amd64

    after update
    Linux Rolling 4.11.0-kali1-amd64

  9. #19
    Junior Member
    Join Date
    Jul 2017
    Posts
    5
    Quote Originally Posted by _defalt View Post
    Change your ISP and show them that it was the problem with their routing.
    I told them if the website is not working then I no need to use your internet connection. The local Field engineer connected me with their head branch IT guy for fixing the issue. I have provided the websites to him which I am unable to access. Now it worked. He excluded those websites. When asked what is the reason, there will be a default block list from every ISP and they simply removed that.

    Thanks all for your help.

Posting Permissions

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