25Oct/090
Ubuntu源出现公钥问题的解决方式
Ubuntu等debian系统使用中,若添加第三方源,在apt-get update的时候可能会出现NO_PUBKEY的错误提示。
解决方式:
根据apt-get update出现的pubkey提示,运行以下两句可以解决问题:
$gpg --keyserver keyserver.ubuntu.com -recv-key [所提示的公钥]
$gpg --export --armor [所提示的公钥] | sudo apt-key add -
-----------------------------
added on 2009.10.27
or
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com [YOURKEY]
[THE END]

The Ubuntu源出现公钥问题的解决方式 by Neio Notes, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
[...] 若出现没有公钥(NO_PUBKEY)的错误,请参考这里解决。 [...]