Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Temporary failure resolving 'http.kali.org'

  1. #1
    Junior Member
    Join Date
    Mar 2017
    Posts
    4

    Temporary failure resolving 'http.kali.org'

    Hi, I'm seeing the following:

    root@kali:~# apt-get update
    Err:1 http://http.kali.org/kali kali-rolling InRelease
    Temporary failure resolving 'http.kali.org'
    Reading package lists... Done
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Temporary failure resolving 'http.kali.org'
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    And it's the same for all mirrors. I've no problem with internet connectivity or dns, I can even wget http://http.kali.org/kali/dists/kali-rolling/InRelease.

    This started after an apt-get upgrade && apt-get dist-upgrade so I think it has something to do with apt-get. _apt user is in group 65534.

    Anyone got any ideas?

  2. #2
    Junior Member
    Join Date
    Sep 2015
    Posts
    9
    Hi tanyaka,

    I too am experiencing this after returning from a trip. Most of the suggestions I have seen on the internet try to pin it to DNS, however I can confirm:

    1. I can ping the address listed
    2. Google's DNS server are set in my resolv.conf
    3. after waiting a few hours to see if it was a DNS propagation issue the problem persists
    4. the sources.list are consistent with those noted on the official kali blog
    5. I have tried multiple networks with no change

    Please let me know if you can think of anything else to test I'd like to understand what the problem is in this case.

  3. #3
    Junior Member
    Join Date
    Mar 2017
    Posts
    4
    Did your problems start happening after an apt-get dist-upgrade?

  4. #4
    Junior Member
    Join Date
    Sep 2015
    Posts
    9
    I believe that is true, I will have to look and see if there is a way I can confirm that via the logs later.

  5. #5
    Junior Member
    Join Date
    Mar 2017
    Posts
    4

    Unhappy

    Quote Originally Posted by tanyaka View Post
    Hi, I'm seeing the following:

    root@kali:~# apt-get update
    Err:1 http://http.kali.org/kali kali-rolling InRelease
    Temporary failure resolving 'http.kali.org'
    Reading package lists... Done
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Temporary failure resolving 'http.kali.org'
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    And it's the same for all mirrors. I've no problem with internet connectivity or dns, I can even wget http://http.kali.org/kali/dists/kali-rolling/InRelease.

    This started after an apt-get upgrade && apt-get dist-upgrade so I think it has something to do with apt-get. _apt user is in group 65534.

    Anyone got any ideas?
    I am having the same issue after a completely fresh install. All I did was install the release on Nexus 7 2013, then update the Nethunter app to the latest version and reinstall chroot. Now I can't apt-get update / upgrade / dist-upgrade.

    Anyone figure this out yet?

  6. #6
    Junior Member
    Join Date
    Mar 2017
    Posts
    4
    I was able to get apt working by messing with my /etc/hosts file to bypass DNS resolution issues - in the end my file looked like this:
    192.99.200.113 http.kali.org
    209.126.116.149 archive-7.kali.org
    209.126.116.149 archive-9.kali.org
    167.114.101.151 archive-11.kali.org
    Yours may need to be different, but if you follow the error messages after the first line (http.kali.org) you should be able to figure it out.

    Really weird bug...

  7. #7
    Junior Member
    Join Date
    Mar 2017
    Posts
    4
    Yes strange I see this now:

    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
    Could not create a socket for 192.99.200.113 (f=2 t=1 p=6) - socket (13: Permission denied)
    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.

    Did you not get the permission denied error?

  8. #8
    Junior Member
    Join Date
    Mar 2017
    Posts
    4
    Quote Originally Posted by tanyaka View Post
    Yes strange I see this now:

    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
    Could not create a socket for 192.99.200.113 (f=2 t=1 p=6) - socket (13: Permission denied)
    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.

    Did you not get the permission denied error?
    I did not get a permissions error. Note that after getting the initial install working you have to also spend time getting the kernel updated. I am fighting that fight now and getting very frustrated...

  9. #9
    Junior Member
    Join Date
    Sep 2015
    Posts
    9
    Just a note to anyone that stumbles across this thread. I was able to fix this by removing chroot and re-adding. This defaulted to kali-rolling instead of the previous repo's and it now works flawlessly without requiring any tweaking.

    **NOTE you must back up any data you have stored in the chroot as you will lose it**

  10. #10
    Junior Member
    Join Date
    Mar 2017
    Posts
    4
    Yep, did the trick for me, thanks for sharing.

Posting Permissions

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