PDA

View Full Version : Crazy errors with apt-get update



Cyberdelia
2016-07-22, 11:53
I was trying to run apt-get update for some reason (I can't remember why now) and it threw all these errors:

Get:1 http://http.kali.org/kali sana InRelease [399 B]
Get:2 http://security.kali.org/kali-security sana/updates InRelease [399 B]
Err:1 http://http.kali.org/kali sana InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:2 http://security.kali.org/kali-security sana/updates InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Fetched 399 B in 29s (13 B/s)
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/sana/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Some index files failed to download. They have been ignored, or old ones used instead.

Any idea what the problem is? Any help would be greatly appreciated, thanks!

WavyCEO
2016-07-22, 17:00
What version of Kali are you running? Also what are the repositories in sources.list?

Cyberdelia
2016-07-26, 21:40
Sorry, I found out that the wifi network I was using was blocking me from connecting to repositories, and that's what the issue was. Sorry, and thanks!

nirangel
2018-02-04, 14:03
Sorry, I found out that the wifi network I was using was blocking me from connecting to repositories, and that's what the issue was. Sorry, and thanks!


I am having same problem with the apt- get update. same as you share. how did you found that your wifi network was blocking and also how did you fixed it?

KhanKrum
2018-02-05, 00:03
I am having same problem with the apt- get update. same as you share. how did you found that your wifi network was blocking and also how did you fixed it?
This tweet will help:;););)

Kali Linux

@kalilinux

If you don’t update Kali regularly (*cough*), then your archive-keyring package is outdated, and you’ll get key mismatches when working with our repositories. Sucks for you, but at least you can manually update the new key :

wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add

In fact the problem for me was that I just pre-install Kali to a new hard disk and decided to use official Kali 2017.3 iso, not the weekly builds...

KnuckleHead
2018-02-14, 23:24
I am having same problem with the apt- get update. same as you share. how did you found that your wifi network was blocking and also how did you fixed it?

I don't know if you got your issue worked out but here is how I fixed mine.

https://forums.kali.org/showthread.php?38858-apt-get-update-GPG-error-key-expired/page3

Hope it helps!