GPG 无效签名。

我在以下问题上遇到了困难(为了删除超链接,我已经从地址中删除了一个"/"):
W: GPG error: http://archive.ubuntu.com oneiric Release: The following signatures were   invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures were invalid: BADSIG B725097B3ACC3965 Launchpad lffl

W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures were invalid: BADSIG 4874D3686E80C6B7 Launchpad PPA for Banshee Team

W: GPG error: http://archive.getdeb.net jaunty-getdeb Release: The following signatures were invalid: BADSIG A8A515F046D7E7CF GetDeb Archive Automatic Signing Key <archive@getdeb.net>

W: GPG error: http://badgerports.org lucid Release: The following signatures were invalid: BADSIG C90F9CB90E1FAD0C Jo Shields <directhex@apebox.org>

W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures were invalid: BADSIG 976B5901365C5CA1 Launchpad PPA for transmissionbt

W: Failed to fetch http://ppa.launchpad.net/dlecan/openjdk/ubuntu/dists/oneiric/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/dlecan/openjdk/ubuntu/dists/oneiric/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/sevenmachines/flash/ubuntu/dists/oneiric/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu/dists/oneiric/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu/dists/oneiric/main/binary-i386/Packages  404  Not Found

我尝试了以下解决方案,这些解决方案都在一个名为“以下签名无效”的封闭案例中:
First of all try

sudo apt-get clean

sudo apt-get update && sudo apt-get upgrade

Some ISPs cache the packages and errors like these are reported then. 
If the above commands don't work, try

sudo apt-get update -o Acquire::http::No-Cache=True

and again

sudo apt-get update && sudo apt-get upgrade

If it still doesn't work,

sudo apt-get update -o Acquire::BrokenProxy=true 

sudo apt-get update && sudo apt-get upgrade

看看这个在askubuntu上的帖子。对我有用。 - Ravi Ranjan
4个回答

试试这个:
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

3我的电脑上无法运行。 :-( - Anand

您安装了一组“有趣”的PPA:

报告“BADSIG”的那些可以通过以下问答解决:

最简单的方法是如何解决apt-get BADSIG GPG错误?

404错误基本上意味着这些PPA不再具有oneiric存储库。您应该从软件源中取消选中它们。

jaunty-getdebbadgerports.org存储库对于oneiric无效。同样,请从软件源中取消选中它们。


我用了"Y PPA Manager"这个软件。在这个软件里有一个"高级"按钮,可以帮你找到丢失的密钥。对我来说很有效。

我遇到了同样的问题。我只是取消了软件源(点击主面板上的齿轮图标,然后点击软件更新器,在左下角有一个设置按钮,点击它会进入软件源对话框)中“独立-由第三方软件开发者提供”和“独立(源代码)-由第三方软件开发者提供”的复选框。当你来到这里时,只需切换到“其他软件”选项卡即可。