Fix Ubuntu Apt error “public key is not available” GPG Keys

If you’ve ever used the a package or repository from the Ubuntu Personal Pakacge Archive, you may have receive an error when each time you use apt-get. The error looks something like this.

W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D8D75E403EBCE749

It’s a simple one line fix, the one line fetches the GPG key for the repository from keyserver.ubuntu.com:

1
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D8D75E403EBCE749

Once you’ve run this command, apt-get will no longer report errors with finding the correct GPG public key.

 

Share it now!
Be a fan

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>