網頁

2010年3月14日 星期日

NO_PUBKEY? for apt-get update Ubuntu 9.10

由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY
執行 apt-get update 修正這些問題


#####Error message
W: GPG error: http://ppa.launchpad.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E1940624A220
####solution




1.
$ gpg --keyserver keyserver.ubuntu.com --recv-key 6AF0E1940624A220
gpg: keyring `/home/wayne/.gnupg/secring.gpg' created
gpg: keyring `/home/wayne/.gnupg/pubring.gpg' created
gpg: requesting key 0624A220 from hkp server keyserver.ubuntu.com
gpg: /home/wayne/.gnupg/trustdb.gpg: trustdb created
gpg: key 0624A220: public key "Launchpad PPA for TualatriX" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
 

2.
$ gpg --export --armor 6AF0E1940624A220 > a.gpg

3.$ sudo apt-key add a.gpg
OK


作紀錄一下 這再網路上找到的
原本網址是
http://sentimentjournal.spaces.live.com/blog/cns!11738D087B9F6567!377.entry

沒有留言: