GPG error 的解决办法!

仅供存放个人的配置文件,不要在本版发问。
回复
feiny
帖子: 79
注册时间: 2007-06-17 18:16

GPG error 的解决办法!

#1

帖子 feiny » 2010-11-02 13:50

Issue
When updating the Debian based system, it may happens that the apt-get displays an error message like:
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FA9C98D5DDA4DB69
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E17B5
This is a new feature of the apt-get system that guarantee the authenticity of servers for updating Debian.

Solution
Simply type the following commands, taking care to replace the number of the key that displayed in the error message:
gpg --keyserver pgpkeys.mit.edu --recv-key 5A9BF3BB4E5E17B5
gpg -a --export 5A9BF3BB4E5E17B5 | sudo apt-key add -
rav009
帖子: 15
注册时间: 2011-01-31 17:23

Re: GPG error 的解决办法!

#2

帖子 rav009 » 2014-06-09 15:01

You have lost the signing key - or never got it - for launchpad.
To authenticate launchpad, as it is a trusted site, do;
Terminal code:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com EB563F93142986CE
回复