Results 1 to 9 of 9

Thread: errors occur after running apt-get update

  1. #1
    Join Date
    2020-Sep
    Location
    Middle east
    Posts
    5

    Question errors occur after running apt-get update

    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.

  2. #2
    Join Date
    2021-Mar
    Posts
    2
    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/9630...-http-deb-i2p2


  3. #3
    Join Date
    2021-Mar
    Posts
    2
    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/7434...-checks-of-apt

  4. #4
    Join Date
    2021-Mar
    Posts
    1
    Post the results of your /etc/apt/sources.list

  5. #5
    Join Date
    2021-Mar
    Posts
    2
    I guess this would work:
    apt-get update ?allow-insecure-repositories

  6. #6
    Join Date
    2021-Mar
    Posts
    2
    But I don?t know how to fix Err:3

  7. #7
    Join Date
    2021-Mar
    Posts
    3
    Remove i2p2 repository and Kali Sana repo (EOL) from your sources.list.

  8. #8
    Join Date
    2013-Dec
    Posts
    11
    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.

  9. #9
    Join Date
    2021-Apr
    Posts
    1
    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?
    kali update error.jpg

Similar Threads

  1. Kali Nethunter on Nokia 6.1 giving errors when running apt update
    By Fukai The Demon King in forum Installing NetHunter
    Replies: 0
    Last Post: 2023-06-02, 18:13
  2. Replies: 3
    Last Post: 2015-09-11, 23:40
  3. firefox install in kali occur error
    By when123 in forum General Archive
    Replies: 5
    Last Post: 2013-10-26, 09:05

Posting Permissions

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