Apt-get 每次都会给出身份验证警告

Apt-get 每次都会给出身份验证警告

每当我 apt-get 某个东西时,它都会警告我它未经身份验证。这是一个新问题;它今天才出现。当我这样做时apt-key update,它什么也不做,并apt-get update在输出的末尾给我这个错误:

W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 30C0868B8020F06A Launchpad PPA for arand
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 5C92FC592AE51AB5 Launchpad PPA for consindo
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 3BDAAC08614C4B38 Launchpad otto06217

有人知道发生了什么或如何解决它吗?我正在运行 ubuntu 12.04 (precise)。

答案1

參考文獻:ubuntuforums.org

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update

相关内容