An Error Occurred During The Signature Verification

If you’re using ubuntu as your choice of linux distribution, and you like to add some unofficial repositories, you probably find some warnings when you run apt-get update command.

The warnings are probably like this

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

W: Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release  

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems

That’s the warnings I got when I added google debian repository. There won’t be anything bad about it, since we could still install the packages from that repositories. But, I we could get rid the warnings, that’s would be a lot better. We could use gpg command to get the key.

Short Version

For you who don’t want to read pointless explanations below, here’s the short version

gpg --keyserver hkp://subkeys.pgp.net --recv-keys A040830F7FAC5991
gpg --export --armor 7FAC5991 | sudo apt-key add -

Long Version

Here’s the explained step. First we have to get the key from the key server.

gpg --keyserver hkp://subkeys.pgp.net --recv-keys A040830F7FAC5991

The A040830F7FAC5991 is from the warning shown before. You might want to change it if you have different repository. For the google repository, you should get this as the output

gpg: requesting key 7FAC5991 from hkp server subkeys.pgp.net
gpg: key 7FAC5991: public key "Google, Inc. Linux Package Signing Key " imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Total number processed: 1
gpg:               imported: 1

After that, type

gpg --export --armor 7FAC5991 | sudo apt-key add -

Where the 7FAC5991 is from the output shown before.

After that you’ll get OK as the output. You may run apt-get update again.

Oh, one more thing, I only tested this method in opera and google repositories :)

About these ads
Tagged , ,

15 thoughts on “An Error Occurred During The Signature Verification

  1. ZaQ says:

    curang, edisi desember tinggal seminggu xD

  2. ZaQ says:

    curang, edisi desember tinggal seminggu xD

  3. cwxwwwxdfvwwxwx says:

    well, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

  4. cwxwwwxdfvwwxwx says:

    well, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

  5. hifyOnegejeKestigue says:

    nrdazeoiedmdsizywell, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

  6. hifyOnegejeKestigue says:

    nrdazeoiedmdsizywell, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

  7. Zarbo says:

    It worked, thanks.

  8. Zarbo says:

    It worked, thanks.

  9. Mike says:

    Hi, nice posts there :-) thank’s for the interesting information

  10. Mike says:

    Hi, nice posts there :-) thank’s for the interesting information

  11. Kalebarkab says:

    I want to find good pop music. Help me please.

  12. Kalebarkab says:

    I want to find good pop music. Help me please.

  13. bankelamo says:

    This theme is very relevant and interesting to many people.

  14. bankelamo says:

    This theme is very relevant and interesting to many people.

  15. Loy33 says:

    Those that commit dastardly crimes in the name of what ever Religion, will find No reward when they arrive before thier Judge. ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: