[Bug 24061] Re: GPG error with apt-get/aptitude/update-manager behind proxy (BADSIG 40976EAF437D05B5)
Andrew
acooks at gmail.com
Mon Apr 16 23:00:15 UTC 2012
People who added to this bug report had a number of different issues.
1. Some people did not import the relevant keys. For them, something like "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DB141E2302FDF932" solved their problem.
2. Some people had bad files on the local box (through proxy or direct download) and for them the fix was "sudo mv /var/lib/apt/lists /var/lib/apt/lists.old ; sudo mkdir -p /var/lib/apt/lists/partial"
3. Some had bad cached content on a normal, by-passable proxy. For them, the fix is "sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update"
4. Some had transparent Proxy authentication problems, which cannot be fixed in ubuntu. (authenticating fixed it for the user)
5. Some had transparent proxy problems with bad cached content on the proxy, which can't be fixed in ubuntu. (changing the mirror, so that the url did not match what the proxy had cached, fixed this.
It's a long bug report. I might have missed a different kind of problem
or two, but for everyone the symptoms looked the same (that's how they
got here).
I don't see how this bug could possibly be fixed for all the different
root causes listed here and if you close this bug, the information for
some of these problems will essentially be lost.
Is there a better place to document this and help people find their
specific problem?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/24061
Title:
GPG error with apt-get/aptitude/update-manager behind proxy (BADSIG
40976EAF437D05B5)
Status in “apt” package in Ubuntu:
Fix Committed
Status in “update-manager” package in Ubuntu:
Won't Fix
Status in “apt” source package in Precise:
Fix Committed
Status in “update-manager” source package in Precise:
Won't Fix
Bug description:
I keep getting this when i launch the update manager.
W: GPG error: http://archive.ubuntu.com breezy-updates Release: The following
signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
Signing Key <ftpmaster at ubuntu.com>
How can I fix it?
***********
WORKAROUND:
----------
Run the following commands(saves a backup of the old lists and creates a new lists folder) and the BADSIG error does not occur :
$ cd /var/lib/apt
$ sudo mv lists lists.old
$ sudo mkdir -p lists/partial
$ sudo apt-get update
***********
comment from Rolf Leggewie: This is due to cache inconsistencies and
thus is not necessarily a bug in Ubuntu at all. But I hope the fine
devs can find a way to better deal with broken proxies. This is a
very visible issue, a large number of internet connections are behind
proxies and the users cannot do anything about it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/24061/+subscriptions
More information about the foundations-bugs
mailing list