Results 1 to 40 of 40

Thread: apt-get update GPG error, key expired

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #35
    Join Date
    2018-Feb
    Location
    In a cave in West Virginia
    Posts
    8
    Quote Originally Posted by cloud9j View Post
    Here's what i tried so far and it is still not working for me:

    root@GhostTown:~# apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    Err:1 http://repo.kali.org/kali kali-rolling InRelease
    403 Forbidden
    Reading package lists... Done
    E: Failed to fetch http://repo.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@GhostTown:~# wget https://http.kali.org/kali/pool/main...2018.1_all.deb
    --2018-02-08 18:17:29-- https://http.kali.org/kali/pool/main...2018.1_all.deb
    Resolving http.kali.org (http.kali.org)... 192.99.200.113
    Connecting to http.kali.org (http.kali.org)|192.99.200.113|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://archive-10.kali.org/kali/poo...2018.1_all.deb [following]
    --2018-02-08 18:17:29-- https://archive-10.kali.org/kali/poo...2018.1_all.deb
    Resolving archive-10.kali.org (archive-10.kali.org)... 167.114.101.149
    Connecting to archive-10.kali.org (archive-10.kali.org)|167.114.101.149|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 6888 (6.7K) [application/octet-stream]
    Saving to: ‘kali-archive-keyring_2018.1_all.deb.1’

    kali-archive-keyrin 100%[===================>] 6.73K --.-KB/s in 0s

    2018-02-08 18:17:29 (84.1 MB/s) - ‘kali-archive-keyring_2018.1_all.deb.1’ saved [6888/6888]

    root@GhostTown:~# apt install ./kali-archive-keyring_2018.1_all.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'kali-archive-keyring' instead of './kali-archive-keyring_2018.1_all.deb'
    kali-archive-keyring is already the newest version (2018.1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@GhostTown:~# apt-get update
    Err:1 http://repo.kali.org/kali kali-rolling InRelease
    403 Forbidden
    Reading package lists... Done
    E: Failed to fetch http://repo.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@GhostTown:~# gpg --keyserver pgpkeys.mit.edu --recv-key ED444FF07D8D0BF6
    key ED444FF07D8D0BF6:
    132 signatures not checked due to missing keys
    gpg: key ED444FF07D8D0BF6: "Kali Linux Repository <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    root@GhostTown:~#
    root@GhostTown:~# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    Executing: /tmp/apt-key-gpghome.um2GTZu6eL/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    key ED444FF07D8D0BF6:
    132 signatures not checked due to missing keys
    gpg: key ED444FF07D8D0BF6: "Kali Linux Repository <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    root@GhostTown:~# apt-get update
    Err:1 http://repo.kali.org/kali kali-rolling InRelease
    403 Forbidden
    Reading package lists... Done
    E: Failed to fetch http://repo.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@GhostTown:~# rm -rf /var/lib/apt/lists
    root@GhostTown:~# apt-get update
    Err:1 http://repo.kali.org/kali kali-rolling InRelease
    403 Forbidden
    Reading package lists... Done
    E: Failed to fetch http://repo.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@GhostTown:~# apt-get install kali-archive-keyring
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    kali-archive-keyring is already the newest version (2018.1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@GhostTown:~# gpg --keyserver pgpkeys.mit.edu --recv-key ED444FF07D8D0BF6
    key ED444FF07D8D0BF6:
    132 signatures not checked due to missing keys
    gpg: key ED444FF07D8D0BF6: "Kali Linux Repository <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    root@GhostTown:~# gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
    key ED444FF07D8D0BF6:
    132 signatures not checked due to missing keys
    OK
    root@GhostTown:~# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    Executing: /tmp/apt-key-gpghome.y4cN1euMcS/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    key ED444FF07D8D0BF6:
    132 signatures not checked due to missing keys
    gpg: key ED444FF07D8D0BF6: "Kali Linux Repository <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    root@GhostTown:~# gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6
    key ED444FF07D8D0BF6:
    132 signatures not checked due to missing keys
    gpg: key ED444FF07D8D0BF6: "Kali Linux Repository <[email protected]>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1
    root@GhostTown:~# gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
    key ED444FF07D8D0BF6:
    132 signatures not checked due to missing keys
    OK
    root@GhostTown:~# apt-get update
    Err:1 http://repo.kali.org/kali kali-rolling InRelease
    403 Forbidden
    Reading package lists... Done
    E: Failed to fetch http://repo.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@GhostTown:~# wget https://http.kali.org/kali/pool/main...2018.1_all.deb
    --2018-02-08 18:24:31-- https://http.kali.org/kali/pool/main...2018.1_all.deb
    Resolving http.kali.org (http.kali.org)... 192.99.200.113
    Connecting to http.kali.org (http.kali.org)|192.99.200.113|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://archive-12.kali.org/kali/poo...2018.1_all.deb [following]
    --2018-02-08 18:24:31-- https://archive-12.kali.org/kali/poo...2018.1_all.deb
    Resolving archive-12.kali.org (archive-12.kali.org)... 167.114.101.174
    Connecting to archive-12.kali.org (archive-12.kali.org)|167.114.101.174|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 6888 (6.7K) [application/octet-stream]
    Saving to: ‘kali-archive-keyring_2018.1_all.deb.2’

    kali-archive-keyrin 100%[===================>] 6.73K --.-KB/s in 0s

    2018-02-08 18:24:31 (167 MB/s) - ‘kali-archive-keyring_2018.1_all.deb.2’ saved [6888/6888]

    root@GhostTown:~# apt install ./kali-archive-keyring_2018.1_all.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'kali-archive-keyring' instead of './kali-archive-keyring_2018.1_all.deb'
    kali-archive-keyring is already the newest version (2018.1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@GhostTown:~# apt-get update
    Err:1 http://repo.kali.org/kali kali-rolling InRelease
    403 Forbidden
    Reading package lists... Done
    E: Failed to fetch http://repo.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@GhostTown:~#

    My repositories sources.list is as follows:

    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

    Any help would be greatly appreciated. I am new to this version and have "some" experience with linux so bare with me plz
    [b]Try this command[b]

    Code:
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    that took care of my invalid key information.

    I forgot to include after you use the command of

    Code:
    apt-get update --fix-missing
    Enter

    now

    Code:
    apt-get update && apt-get upgrade
    and all should work well.[/code]
    Last edited by KnuckleHead; 2018-02-14 at 06:56. Reason: forgot to add command for --fix-missing

Similar Threads

  1. apt-get update GPG error, key expired
    By azimv3nom in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2019-12-01, 10:08
  2. Kali Net Hunter Key Expired
    By Krissrmx in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2019-05-09, 09:31
  3. Expired certificate archive.kali.org
    By hunter86_bg in forum Installing Archive
    Replies: 3
    Last Post: 2016-12-09, 12:35
  4. How to update expired keys/signatures for repo?
    By my68_ in forum General Archive
    Replies: 5
    Last Post: 2015-04-19, 20:15
  5. Replies: 0
    Last Post: 2014-02-13, 14:49

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
  •