ubuntu12.04--apt-get update(因爲沒有公鑰,沒法驗證下列簽名)

當 apt-get update 更新後,出現下面錯誤時的解決方法:

正在讀取軟件包列表... 完成

W: GPG 錯誤:http://ppa.launchpad.net precise Release: 因爲沒有公鑰,沒法驗證下列簽名: NO_PUBKEY 2EA8F35793D8809A ubuntu


解決辦法: 服務器

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EA8F35793D8809A .net


結果: server

而後會自動執行

 

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.uxUmi4wF1r --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 2EA8F35793D8809A
gpg: 下載密鑰‘93D8809A’,從 hkp 服務器 keyserver.ubuntu.com
gpg: 密鑰 93D8809A:公鑰「Launchpad PPA for Martin Wimpress」已導入
gpg: 合計被處理的數量:1
gpg:               已導入:1  (RSA: 1) ci

相關文章
相關標籤/搜索