I believe that this error is caused by a caching proxy which returns
stale files, instead of actually retrieving the latest files from the
mirror and returning that. In my case, it is a transparent squid proxy.

I added 
Acquire::http::No-Cache "true";
Acquire::http::Max-Age "0";
to
/etc/apt/apt.conf.d/10broken_proxy

On inspection of the HTTP traffic, the correct headers were sent in the
request, but the proxy happily ignored them and returned a cached
response.

I guess I should report this as a squid bug, but that will not help the
majority of users experiencing this problem any time soon.

-- 
GPG error with apt-get (BADSIG 40976EAF437D05B5)
https://bugs.launchpad.net/bugs/24061
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to