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

Re: Bug#63124: apt-get isn't getting new Package lists



On 2000-04-27 21:44:54 -0600, Jason Gunthorpe wrote:
> Eh? I am being very consistent, I want you to verify unquestionably that
> the gzip file is the same as the ungziped version and different from the
> one APT gets.

It is.

$ zcat Packages.gz| md5sum
536c489bc48e417baaca510d7e056fb2
$ md5sum Packages
536c489bc48e417baaca510d7e056fb2  Packages

(they're the ones from the local mirror)

The client machine has one with a different size, so md5sum obviously
gives a different sum.

$ md5sum debian.topic.com.au_dists_unstable_main_binary-i386_Packages
62ec40f2e859a4bfd3b18d31894e035c  debian.topic.com.au_dists_unstable_main_binary-i386_Packages

ftp.au.debian.org finally has an update, so I can't verify that the one
there yesterday which was the same size was the same contents.  It's
now the same as the local mirror.

> You are *assuming* that the Packages.gz == Packages, there could be a
> problem with the mirror.

In years of using rsync I've never had a problem.  Anyhow md5sum reckon
they're the same.

> You said you erased everything in /var/state/apt/lists - if this is so,
> where did the old file come from???

You tell me and we'll both know ;)  I'm just as confused about this one.

> You could have a 'transparet proxy' in your way, that is becoming
> increasingly common and frequently causes these sorts of problems.

There's no transparent proxy on our network.  We have a large squid cache
connected to the upstream provider's, and a small apache+mod_proxy on this
particular network that forwards to the squid one.  These are used either
manually (depending on the client system & browser) or with proxy.pac.
Outside access to port 80 is firewalled.

The proxy listed in apt.conf on the client is the mod_proxy one.

> It is extrmely unlikely that this is an apt bug, the code to determine
> newness is really trivial and relies on the server side. I assume you are
> using Apache, so run apt-get update and look at the apache access log and
> see what it says. 

It lists hits for the sites in my sources.list that are not the local
cache:

$ grep ^matty.tsa access_log | tail -18
matty.tsa - - [28/Apr/2000:13:57:03 +1000] "GET http://marillat.free.fr/dists/unstable/main/binary-i386/Packages.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:03 +1000] "GET http://ftp.au.debian.org/linux/debian/dists/unstable/main/source/Sources.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:03 +1000] "GET http://ftp.au.debian.org/linux/debian/dists/unstable/main/source/Release HTTP/1.1" 404 241
matty.tsa - - [28/Apr/2000:13:57:03 +1000] "GET http://ftp.au.debian.org/linux/debian/dists/unstable/contrib/source/Sources.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:03 +1000] "GET http://www.rcpt.to/dists/pending/main/binary-i386/Packages.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian/dists/unstable/contrib/source/Release HTTP/1.1" 404 244
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian/dists/unstable/non-free/source/Sources.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://www.rcpt.to/dists/pending/main/binary-i386/Release HTTP/1.1" 404 232
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://marillat.free.fr/dists/unstable/main/binary-i386/Release HTTP/1.1" 404 233
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://marillat.free.fr/dists/unstable/main/source/Sources.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian/dists/unstable/non-free/source/Release HTTP/1.1" 404 245
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian-non-US/dists/unstable/non-US/main/source/Sources.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian-non-US/dists/unstable/non-US/main/source/Release HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian-non-US/dists/unstable/non-US/contrib/source/Sources.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian-non-US/dists/unstable/non-US/contrib/source/Release HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian-non-US/dists/unstable/non-US/non-free/source/Sources.gz HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:04 +1000] "GET http://ftp.au.debian.org/linux/debian-non-US/dists/unstable/non-US/non-free/source/Release HTTP/1.1" 304 0
matty.tsa - - [28/Apr/2000:13:57:05 +1000] "GET http://marillat.free.fr/dists/unstable/main/source/Release HTTP/1.1" 404 228

This is what I expect as I told apt.conf to go direct to debian.topic.com.au
(which apt-gets hits after these)

-- 
Matt


Reply to: