今天在手動執行
apt-get update
的時候,出現了一下錯誤
W: GPG 錯誤:http://extras.ubuntu.com precise Release: 下列簽名無效: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
這裏可能的情況是 cache 出錯, 可以通過以下步驟來重建cache
sudo -i apt-get clean cd /var/lib/apt mv lists lists.old mkdir -p lists/partialapt-get clean apt-get update
這樣, 你的 apt-cache 就重建了, 簽名問題也一併解決了.