PDA

View Full Version : [SOLVED] Problems with Update Manager and public keys



blueshift9
December 3rd, 2010, 02:03 PM
For 9 days now I have been getting errors when trying to run Update Manager saying that ALL my keys are missing. Any ideas?


W: GPG error: http://archive.canonical.com maverick 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 maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
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 maverick-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://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991

wangsuda
December 3rd, 2010, 02:08 PM
Cool! I know this one! I can help. Here's what you do:
Type this command into the terminal ("Applications > Accessories > Terminal")

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys *ADD KEY NUMBERS HERE*
And then add the hexadecimal numbers to the command (please leave a space between your number and the word "keys"). For example, to add your public keys, I would enter

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 16126D3A3E5C1192 40976EAF437D05B5 A040830F7FAC5991
If the code doesn't work with all the hex numbers together, then split it into separate commands:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A040830F7FAC5991
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
That should work.

byStanderone
December 3rd, 2010, 02:13 PM
...you can try a gpg key update: http://ubuntuforums.org/showthread.php?t=299708

sikander3786
December 3rd, 2010, 02:14 PM
For this one,


W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991

I think you'll need this command as well.


wget -q -O - http://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

blueshift9
December 3rd, 2010, 04:12 PM
Thanks a million guys!

NewUserFF
February 22nd, 2012, 03:48 PM
Cool! I know this one! I can help. Here's what you do:
Type this command into the terminal ("Applications > Accessories > Terminal")

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys *ADD KEY NUMBERS HERE*
And then add the hexadecimal numbers to the command (please leave a space between your number and the word "keys"). For example, to add your public keys, I would enter

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 16126D3A3E5C1192 40976EAF437D05B5 A040830F7FAC5991
If the code doesn't work with all the hex numbers together, then split it into separate commands:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A040830F7FAC5991
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
That should work.
it also works for me. thanks!