Results 1 to 29 of 29

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

  1. #1
    Join Date
    2014-Nov
    Posts
    9

    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
    Join Date
    2016-Oct
    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
    Join Date
    2014-Nov
    Posts
    9
    hmmm .. i've tried all the repositories at the official website. Nothing works.

  4. #4
    Join Date
    2016-Oct
    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
    Join Date
    2016-Oct
    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.

  6. #6
    Join Date
    2016-Nov
    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
    Join Date
    2016-Oct
    Posts
    5
    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
    Join Date
    2015-Aug
    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
    Join Date
    2014-Nov
    Posts
    9
    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
    Join Date
    2016-Dec
    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!

  11. #11
    Join Date
    2015-Nov
    Posts
    24
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    copy and replace in sources.list

  12. #12
    Join Date
    2016-Oct
    Posts
    6
    Your /etc/sources.list should be:

    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    However if the above official source not working to you, you may use the official kali mirrors.
    1) Go to this link http://http.kali.org/README.mirrorlist
    2) under "mirrors which handle this country" copy any one of the link (example in my case: http://kali.cs.nctu.edu.tw/kali/README )
    3) Open nano /etc/apt/sources.list and paste it at the bottom.
    4) Remove "/README" from the link and make it looks like this -> "deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free"
    5) Comment all previous sources except the mirror that you just pasted.
    6) and finally your Mirror sources.list should be like this: (Example of my kali mirror sources.list)

    #Kali Linux Rolling Official Repositories
    #deb http://http.kali.org/kali kali-rolling main contrib non-free

    #Kali Linux Rolling Official Mirrors Repositories
    deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free

    7) Exit and write changes.
    8) Run apt-get clean && apt-get update and see if it works.
    9) If it still doesn't working, try to replace it with another mirror.

    Hope this helps anyone out there.

  13. #13
    Join Date
    2014-Nov
    Posts
    9
    @mlrkumar suggestion worked fine.

  14. #14
    Join Date
    2016-Dec
    Location
    Canada
    Posts
    326

    Update nethunter

    Quote Originally Posted by jeret View Post
    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
    If you check the nethunter app there is a part that says metapackages. I'm sure this is the equivalent to update.

  15. #15
    Join Date
    2017-Apr
    Posts
    2

    GroupID

    mrkumar - thanks for the tip. That took some serious sleuthing, I'm sure but you saved me a lot of time and effort. +1


    Quote Originally Posted by mlrkumar View Post
    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.

  16. #16
    Join Date
    2016-Dec
    Location
    Canada
    Posts
    326
    Open kali terminal
    Cd /
    Cd /etc/apt
    Ls
    Mv sources.list /sdcard
    Now open up the root browser app and search down till you find sources.list you want to edit delete all
    Open up kali repo site and paste and copy the appropriate list you want as your repo
    Save list.
    Go back to the terminal and type
    Mv /sdcard/sources.list /etc/apt
    Voila you should be good to go

  17. #17
    Join Date
    2013-Apr
    Posts
    3
    Quote Originally Posted by mlrkumar View Post
    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.
    Thx ! This is perfect !

  18. #18

    kali linux update problem solved .congrats

    keep the same sources.list as mentioned on official website of kali
    and run this command

    wget -q -O -https://archive.kali.org/archive-key.asc | apt-key add
    and then try
    apt-get update this will definitely solve this problem.
    ThankYou.

  19. #19
    Join Date
    2018-Apr
    Posts
    1
    it's worked, thank you!

  20. #20
    Join Date
    2018-Oct
    Posts
    1

    Error

    I'm getting this error after typing your mentioned command.

    Here:-

    root@kali:~# wget -q -O https://archive.kali.org/archive-key.asc | apt-key add
    wget: missing URL
    Usage: wget [OPTION]... [URL]...

    Try `wget --help' for more options.
    gpg: no valid OpenPGP data found.
    root@kali:~#

    I've no clue how to fix this, I'm new to kali-linux.

  21. #21
    Join Date
    2018-Dec
    Posts
    2

    thanks

    Quote Originally Posted by mlrkumar View Post
    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.
    tkank you very very much. my problem fixed.

  22. #22
    Join Date
    2018-Dec
    Location
    Nashik, Maharashtra, India
    Posts
    1

    It Resolves my problem. Thanks

    Thanks it solves my problem

  23. #23
    Join Date
    2018-Dec
    Posts
    1
    HIII

    Sir my self Raju plz i have see 1 error.



    root@kali:~# apt-get update && apt-get upgrade
    Get:1 http://kali.download/kali kali-rolling InRelease [30.5 kB]
    Get:2 http://kali.download/kali kali-rolling/main Sources [12.4 MB]
    Get:3 http://kali.download/kali kali-rolling/main amd64 Packages [16.7 MB]
    Fetched 29.2 MB in 1min 11s (410 kB/s)
    Reading package lists... Done
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (non-free/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (contrib/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons-small (contrib/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (non-free/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (contrib/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons-small (contrib/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3
    W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list
    Sir plz how to resolved this msg

  24. #24
    Join Date
    2019-Apr
    Posts
    1
    this one works and solved the problem even for Kali Linux 2019.4

  25. #25
    Join Date
    2020-Apr
    Posts
    2
    Quote Originally Posted by unipulkitagg View Post
    keep the same sources.list as mentioned on official website of kali
    and run this command

    wget -q -O -https://archive.kali.org/archive-key.asc | apt-key add
    and then try
    apt-get update this will definitely solve this problem.
    ThankYou.
    It should be:

    wget -O a "https://archive.kali.org/archive-key.asc" | apt-key add a
    apt-get update

  26. #26
    Join Date
    2021-Dec
    Posts
    1

    Samsung S20 fe 5g Nethunter

    This command not working for me I need help https://forum.xda-developers.com/t/k...ragon.4205881/

  27. #27
    Join Date
    2022-Jan
    Posts
    1

    i'm also facing this issue

    udo apt-get update
    Get:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Get:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Get:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Ign:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Ign:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Ign:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Get:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Get:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Get:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Ign:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Ign:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Ign:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Get:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Get:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Get:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Ign:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Ign:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Ign:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Get:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Get:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Get:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Err:1 http://ftp.harukasan.org/kali kali-rolling InRelease
    Undetermined Error [IP: 192.168.1.1 80]
    Err:2 http://ftp.harukasan.org/kali kali-bleeding-edge InRelease
    Undetermined Error [IP: 192.168.1.1 80]
    Err:3 http://ftp.harukasan.org/kali kali-experimental InRelease
    Undetermined Error [IP: 192.168.1.1 80]
    Reading package lists... Done
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Undetermined Error [IP: 192.168.1.1 80]
    W: Failed to fetch http://http.kali.org/kali/dists/kali...edge/InRelease Undetermined Error [IP: 192.168.1.1 80]
    W: Failed to fetch http://http.kali.org/kali/dists/kali...ntal/InRelease Undetermined Error [IP: 192.168.1.1 80]
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    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[/QUOTE]

  28. #28
    Join Date
    2022-Oct
    Posts
    1
    This error returned -
    /etc/apt/trusted.gpg.d/kali_pi-archive-keyring.gpg pub expired:2022-08-29

    sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 11764EE8AC24832F

    keyserver receive failed: Server indicated a failure..

    please help

    Hi All,

    I'm trying to update the arm-image 64 bit on a raspberrypi 4 but i get this error when updating:

    sudo apt-get update --allow-insecure-repositories --allow-unauthenticated
    [sudo] password for kali:
    Get:1 http://http.re4son-kernel.com/re4son kali-pi InRelease [8133 B]
    Hit:2 https://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease
    Ign:1 http://http.re4son-kernel.com/re4son kali-pi InRelease
    Fetched 8133 B in 1s (6299 B/s)
    Reading package lists... Done
    W: GPG error: http://http.re4son-kernel.com/re4son kali-pi InRelease: The following signatures were invalid: EXPKEYSIG 11764EE8AC24832F Carsten Boeving <[email protected]>
    W: The repository 'http://http.re4son-kernel.com/re4son kali-pi InRelease' is not signed.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    Does anyone have a fix for this?

    Thanks in advance
    well I found this on Twitter and it worked!! Try a different key server
    sudo apt-key adv --keyserver hkp://pgp.mit.edu --recv-keys 11764EE8AC24832F
    found 3 new signatures; processed 1
    new signatures 3
    and then apt-get update worked correctly again

  29. #29
    I'm not sure what everyones problem here is but if you have the problem of your clock being off or the apt update command saying that the in file release hasnt happened yet type

    timedatectl set-ntp on

Similar Threads

  1. Replies: 1
    Last Post: 2020-09-11, 14:25

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
  •