Tuesday, February 9, 2010

How to get a Public Key in Debian based distros

# Ubuntu - Karmic Koala
#
# This is how to get a key when there are new repository
#
# Pick the last 8 numbers from the error data. See the example:
#
# "W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 632D16BB0C713DA6".
# In this case, the last 8 numbers are: 0C713DA6.
#
# Then in terminal:
#
# gpg --keyserver keyserver.ubuntu.com --recv 0C713DA6
#
# gpg --export --armor 0C713DA6 | sudo apt-key add - && sudo apt-get update
#
# That's it ;-)

No comments:

Post a Comment