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 126.96.36.199 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
hmmm .. i've tried all the repositories at the official website. Nothing works.
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
Using putty connect to Nethunter and Run
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.
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.
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 ?
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.
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
Don't want "testing" repo updates, is there another valid source to pull only Stable?
Originally Posted by jeret
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