更新套件庫出現以下錯誤

W: GPG error: http://deb.playonlinux.com maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E0F72778C4676186the second is i cannot get it to actually acknowledge diablo 2 or any other windows programs i have tried to install. it says the install was complete, but the items never show up on the list of usable applications.. PLEASE help!

只要再執行以下語句即可

wget -q "http://deb.playonlinux.com/public.gpg" -O - | apt-key add -
sudo apt-get update

----------------另一個作法--------------------
剛好在網路上看到這個解決方法,實在是很好用,因此特地引給有需要的朋友看。
要是使用synaptic增加新的套件來源之後,按update有時候會出現gpg錯誤的訊息,請注意這是一個很重要的訊息。

例如訊息如下

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

當中的C71839136CF5CE97這一段,就是找gpg key的關鍵。
然後開啟命令列,下指令:

gpg --keyserver keyserver.ubuntu.com --recv C71839136CF5CE97

會從kerserver.ubuntu.com上面找與這個key相同的key下來
然後

gpg --export --armor C71839136CF5CE97 | sudo apt-key add -

將gpg的list加入,這個時候再update,就不會出現gpg錯誤的情況出現了。

By admin

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料