[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt experimental breaks w/ webcaching (was Re: apt 0.6 in experimental)

On Thu, Jan 01, 2004 at 07:34:26PM -0500, Anthony DeRobertis wrote:

> Installed 0.6.9, and now:
> Failed to fetch  
> http://http.us.debian.org/debian/dists/testing/contrib/binary-i386/ 
> Packages.gz  MD5Sum mismatch
> Failed to fetch  
> http://http.us.debian.org/debian/dists/testing/contrib/source/ 
> Sources.gz  MD5Sum mismatch
> Failed to fetch  
> http://http.us.debian.org/debian/dists/unstable/contrib/source/ 
> Sources.gz  MD5Sum mismatch
> Reading Package Lists... Done
> Is it possible that I'm getting outdated copies of the Packages.gz and  
> Sources.gz file, possible due to my webcache? Yes, taking out the proxy  
> in /etc/apt/apt.conf fixes this.
> Squid is certainly within its rights to not fetch a new version of  
> Packages.gz and Sources.gz while fetching the new Release file, and it  
> seems it happens. Especially with the amount of transparent proxying  
> that exists in the wild, this could be a problem...

A cache which serves stale data is a broken cache.  I think that apt is
within its rights to expect a consistent view from the world.  You would see
other failures if you got mismatched versions of Release and Release.gpg.

This will probably go away, though, when apt 0.6 is fixed to send proper
IMS requests for Release and Release.gpg.

 - mdz

Reply to: