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

Thread: Cannot apt-get update. Err:1 http://http.kali.org/kali kali-rolling InRelease

  1. #1
    Junior Member
    Join Date
    Nov 2014
    Posts
    8

    Cannot apt-get update. Err:1 http://http.kali.org/kali kali-rolling InRelease

    hi i cannot seem to do an update in kali (nethunter)Kali GNU/Linux Rolling \n \l

    i keep getting this error:

    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.

    My internet works fine, my DNS is set to google DNS 8.8.8.8 and my GPG keyring is up to date.

    root@kali:~# kali-archive-keyring is already the newest version (2015.2).

    this is my source.list:

    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


    my kali info:

    Linux kali 3.4.105-g766de8b #1 SMP PREEMPT Sun May 29 13:33:54 PDT 2016 armv7l GNU/Linux

    Distributor ID: Kali
    Description: Kali GNU/Linux Rolling
    Release: kali-rolling
    Codename: kali-rolling

  2. #2
    Junior Member
    Join Date
    Oct 2016
    Posts
    2
    Hi jeret,

    You are not alone! The majority of my experience with Kali so far, has been updating her. As I "newbie" I expect frustrations related to the learning curve, but when I am following official instructions to the letter, I look for results. Out of frustration, I once yelled, "This is worse than windows!"

    Just a few moments ago, I noticed something and hope a kind, cool and brilliant pioneer will shed some light.

    Regarding repositories, the official Kali documentation lists two different addresses:

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

    http://docs.kali.org/general-use/kal...t-repositories
    deb http://http.kali.org/kali kali-rolling main contrib non-free

    My question: Which is correct? Can I use both? Does it even matter?

  3. #3
    Junior Member
    Join Date
    Nov 2014
    Posts
    8
    hmmm .. i've tried all the repositories at the official website. Nothing works.

  4. #4
    Junior Member
    Join Date
    Oct 2016
    Posts
    1
    Hello,

    I have the same error when I update, and
    I have seen that in http://http.kali.org/dists are the folder kali-rolling/ then then I will put the following:

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

    I will tell you the result

    A greeting

  5. #5
    Junior Member
    Join Date
    Oct 2016
    Posts
    1
    Using putty connect to Nethunter and Run
    vi /etc/passwd,
    Change the line
    _apt:x:104:3004::/nonexistent:/bin/false to _apt:x:0:65534::/nonexistent:/bin/false
    Save and Run apt-get update ,It Works Check it ,
    Explanation: Changing GID 3004 to 65534 ,What is GID 3004 on your system?
    The fact that the _apt user is part of "nogroup" is actually the problem.
    Last edited by mlrkumar; 2016-10-31 at 06:56 AM.

  6. #6
    Junior Member
    Join Date
    Nov 2016
    Posts
    1
    HI, i can't update my kali nethunter because I receive "failed to fetch http://.... Not Found" error during updating. How can i fix it? Thanks in advance.

  7. #7
    Junior Member
    Join Date
    Oct 2016
    Posts
    4
    I am having the same problem with apt-get update, tried every official repository and a combination of them, did not work.
    Has anyone found the solution to this ?

  8. #8
    Junior Member
    Join Date
    Aug 2015
    Posts
    8
    I know this is an older thread, but... I was having the sort of the same issue. What I found is that I'm using Sophos UTM as my router, and for some reason it wouldn't update (haven't investigated the cause). The work around for me was to bypass the security appliance and use my basic home wifi. I'm not sure if this will help anyone, but it caused me several hours of frustration and made me a not very happy camper.

  9. #9
    Junior Member
    Join Date
    Nov 2014
    Posts
    8
    Change source list to:
    deb http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib
    deb-src http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib

  10. #10
    Junior Member
    Join Date
    Dec 2016
    Posts
    1

    Don't want "testing" repo updates, is there another valid source to pull only Stable?

    Quote Originally Posted by jeret View Post
    Change source list to:
    deb http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib
    deb-src http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib

    I understand from researching a tiny bit that Kali is going the rolling update route which explains why older builds source lists do not work.

    However, my understanding (correct me if I am wrong) is that it is pulling these updates from the Debian Sid or "testing" repository (i.e. http://ftp.de.debian.org/debian sid main). And that would explain why I am getting 500+ updates available when I run a weekly 'apt update' on my newer Kali build.

    My question is this; Is there a valid way to still get stable updates without pulling from the rolling repo "kali-rolling" and getting all of the "testing" updates? My research came up empty.

    I've noticed on my latest Kali build it isn't as stable as the non-rolling build. Openvas, the main reason I use Kali is not starting correctly anymore and wasn't even installed by default on the newer rolling build DVDs. *sigh*

    ============================
    Relevent info, just in case it's needed:
    # uname -a
    Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux
    # cat /etc/apt/sources.list
    #

    # deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150809-03:17]/ sana contrib main non-free

    #deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150809-03:17]/ sana contrib main non-free

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

    deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
    deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free
    ============================

    Thanks ahead of time!

Tags for this Thread

Posting Permissions

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