Comment 3 for bug 33505

Revision history for this message
Stuart Bishop (stub) wrote : Re: [Bug 33505] BADSIG errors

Michael Vogt wrote:

> One option you can turn on is
>
> apt-get update -o Acquire::http::No-Cache=True
>
> this will set the cache-control headers to turn caching off. Please let
> mek know if that helps.

I just tried a standard apt-get update, and it failed with the BADSIG
errors. I immediately then tried with the Acquire::http::No-Cache=True
option and it worked fine.

Let me know if you need me to run any experiments from my end - I suspect
this issue is fairly common and has the side effect of delaying or blocking
security updates, so it would be good if this situation could be detected
and the requests sent with the correct headers. Perhaps an optional file in
each archive containing an automatically updated timestamp? If the timestamp
is retrieved and it is too far out of date, we know we are behind a
particularly aggresive cache and we need to send the No-Cache header.

--
Stuart Bishop <email address hidden> http://www.canonical.com/
Canonical Ltd. http://www.ubuntu.com/