PDA

View Full Version : errors occur after running apt-get update



Ahmedalfarsi
2021-03-01, 12:07
Hi Dear All,
i use Kali 64-bit, OS Debian 10x64-bit. i used to update and upgrade kali packages smoothly without facing errors. on a sudden recently i am experiencing an issue when i run apt-get update. i get the following outcome result after running update command: can sombody assist to resolve this issue please?
root@kali:~# apt-get update
Hit:1 http://old.kali.org/kali sana InRelease
Get:3 http://deb.i2p2.no unstable InRelease [287 B]
Err:3 http://deb.i2p2.no unstable InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:2 http://kali.itsec.am/kali kali-rolling InRelease [30.5 kB]
Get:4 http://kali.itsec.am/kali kali-rolling/main Sources [14.0 MB]
Get:5 http://kali.itsec.am/kali kali-rolling/main amd64 Packages [17.7 MB]
Reading package lists... Done
E: Failed to fetch http://deb.i2p2.no/dists/unstable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://deb.i2p2.no unstable InRelease' is not signed.
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.

fjkpaul
2021-03-03, 15:08
Hi, I am new to the forum, hope this helps.

E: Failed to fetch http://deb.i2p2.no/dists/unstable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://deb.i2p2.no unstable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

(man page for apt-secure 8)

UNSIGNED REPOSITORIES
If an archive has an unsigned Release file or no Release file at all current APT
versions will refuse to download data from them by default in update operations
and even if forced to download front-ends like apt-get(8) will require explicit
confirmation if an installation request includes a package from such an
unauthenticated archive.


https://askubuntu.com/questions/963062/an-error-occurred-during-the-signature-verification-gpg-error-http-deb-i2p2

nullroot
2021-03-05, 20:38
every repository needs a PGP key(at least thats what i think its called). If you dont have a key, and this is also very dangerous to do, run "apt-get --allow-unauthenticated update". If that doesnt work just replace update with upgrade. Similar forum: https://askubuntu.com/questions/74345/how-do-i-bypass-ignore-the-gpg-signature-checks-of-apt

johnjenz
2021-03-07, 03:12
Post the results of your /etc/apt/sources.list

Aspect
2021-03-09, 03:03
I guess this would work:
apt-get update ?allow-insecure-repositories

Aspect
2021-03-09, 03:04
But I don?t know how to fix Err:3

gad3r
2021-03-23, 10:26
Remove i2p2 repository and Kali Sana repo (EOL) from your sources.list.

basskleff
2021-04-04, 01:57
Is there a proxy server between your Kali machine and the internet is where my head is thinking?
Does such a proxy act as the internet gateway for the local network? Maybe it's imposing a security rule that all websites must have valid signed public certificates to exchange?
Can the kali machine be attached directly to the internet if I am on the trail. I may not be.

suIA
2021-04-11, 06:04
Hi Ahmedalfarsi,
Did you manage to solve your issue? I've been trying to find help lately as I am facing a similar issue. I've been unable to update Kali for 2 days (it was all perfect before)... I read the suggested manpage but I don't get what is wrong. Is the mirror corrupted of what?
4633