Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: GPG key error when attemting to download updates

  1. #1
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    157
    Distro
    Ubuntu Development Release

    GPG key error when attemting to download updates

    Code:
     W: GPG error: http://no.archive.ubuntu.com oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
    W: GPG error: http://no.archive.ubuntu.com oneiric-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
    W: GPG error: http://no.archive.ubuntu.com oneiric-proposed Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com oneiric-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
    
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
    
    W: GPG error: http://extras.ubuntu.com oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release  
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/Release  
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    i got this pubkey error when i try to download and install updates. when i tried in the update manager, it said it required something... untrusted packages.

    Help?

  2. #2
    Join Date
    Oct 2011
    Beans
    Hidden!

    Re: GPG key error when attemting to download updates


  3. #3
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GPG key error when attemting to download updates

    If you just want to add the one repository key generating the errors:
    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 437D05B5 3E5C1192
    sudo apt-get update
    GRUB2

    Retired.

  4. #4
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    157
    Distro
    Ubuntu Development Release

    Re: GPG key error when attemting to download updates

    Quote Originally Posted by drs305 View Post
    If you just want to add the one repository key generating the errors:
    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 437D05B5 3E5C1192
    sudo apt-get update
    still getting this:

    Code:
    Reading package lists... Done
    W: GPG error: http://no.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    
    W: GPG error: http://no.archive.ubuntu.com oneiric-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com oneiric-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    
    W: GPG error: http://extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: GPG error: http://no.archive.ubuntu.com oneiric-proposed Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/Release  
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release  
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GPG key error when attemting to download updates

    Try opening Software Sources, go to the Authentication tab, and remove the keys for Extras and Ubuntu Archive. If you also see one for Security, remove that one as well.

    Then run 'sudo apt-get update' again. You will get the authentication errors. Copy the numbers to the following command (you can use the full code rather than just the last 8 characters) and try adding them again.
    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys < add keys here >
    I changed to the Norway server and the keys imported correctly for me, but if the above fails you might try changing servers from the Ubuntu Software tab.
    GRUB2

    Retired.

  6. #6
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    157
    Distro
    Ubuntu Development Release

    Talking Re: GPG key error when attemting to download updates

    Quote Originally Posted by drs305 View Post
    Try opening Software Sources, go to the Authentication tab, and remove the keys for Extras and Ubuntu Archive. If you also see one for Security, remove that one as well.

    Then run 'sudo apt-get update' again. You will get the authentication errors. Copy the numbers to the following command (you can use the full code rather than just the last 8 characters) and try adding them again.
    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys < add keys here >
    I changed to the Norway server and the keys imported correctly for me, but if the above fails you might try changing servers from the Ubuntu Software tab.
    It worked Thankyou for your help guys

  7. #7
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    157
    Distro
    Ubuntu Development Release

    Exclamation Re: GPG key error when attemting to download updates

    can someone just give me a step for step description?

    Got the same problem again...

  8. #8
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    157
    Distro
    Ubuntu Development Release

    Red face Re: GPG key error when attemting to download updates

    Quote Originally Posted by drs305 View Post
    Try opening Software Sources, go to the Authentication tab, and remove the keys for Extras and Ubuntu Archive. If you also see one for Security, remove that one as well.

    Then run 'sudo apt-get update' again. You will get the authentication errors. Copy the numbers to the following command (you can use the full code rather than just the last 8 characters) and try adding them again.
    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys < add keys here >
    I changed to the Norway server and the keys imported correctly for me, but if the above fails you might try changing servers from the Ubuntu Software tab.
    thhe place where i should add the key, should i only add this:
    Code:
     BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key
    or only this:
    Code:
     16126D3A3E5C1192
    ?

  9. #9
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GPG key error when attemting to download updates

    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
    When you accomplished the earlier steps, did you also remove the key for Extras in the Authentication tab of Software Sources before running the above command? How you get to Software Sources depends on which release of Ubuntu you are using. If you don't know how to open it, just ask.
    Last edited by drs305; October 26th, 2011 at 09:31 PM.
    GRUB2

    Retired.

  10. #10
    Join Date
    Dec 2010
    Location
    Sørreisa, Norway
    Beans
    157
    Distro
    Ubuntu Development Release

    Unhappy Re: GPG key error when attemting to download updates

    Quote Originally Posted by drs305 View Post
    Code:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
    When you accomplished the earlier steps, did you also remove the key for Extras in the Authentication tab of Software Sources before running the above command? How you get to Software Sources depends on which release of Ubuntu you are using. If you don't know how to open it, just ask.
    yes went in there and removed them. after upgrading, these problems has occured to me. and it doesnt seemes to help at all, the same error comes every time,..

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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