Quoting Pierre Frenkiel (pierre.frenk...@gmail.com):
> On Wed, 13 May 2015, David Wright wrote:
> 
> >What happens if you perform this sort of conversation:
> >. . .
> >~ $ wget 
> >http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
> >~ $ md5sum Packages
> >~ $ wget http://ftp.fr.debian.org/debian/dists/jessie/InRelease
> >~ $ grep 854af4d1ea9bce473bd82c11fb62f5bb InRelease
> >. . .
> >Do they match as shown?
> >Do the md5sums of your files in /var/lib/apt/lists match your wife's?
> 
>   hi David,
>   fortunately, I get the same result as you after the wget ...
>   I couldn't imagine that wget doesn't give always the same file

Well, having tried downloading with wget as reported above, I just
thought I'd try my regular mirror to see what happens there. The
results are slightly different, so I'll not snip at the output.

 $ wget http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages
--2015-05-14 11:28:30--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages
Resolving ftp.us.debian.org (ftp.us.debian.org)... 128.61.240.89, 
64.50.233.100, 2610:148:1f10:3::89
Connecting to ftp.us.debian.org (ftp.us.debian.org)|128.61.240.89|:80... 
connected.
HTTP request sent, awaiting response... 404 Not Found
2015-05-14 11:28:30 ERROR 404: Not Found.

 $ wget 
http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages.gz
--2015-05-14 11:34:52--  
http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/Packages.gz
Resolving ftp.us.debian.org (ftp.us.debian.org)... 64.50.233.100, 
128.61.240.89, 2610:148:1f10:3::89
Connecting to ftp.us.debian.org (ftp.us.debian.org)|64.50.233.100|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 9019439 (8.6M) [application/x-gzip]
Saving to: ‘Packages.gz’

Packages.gz                 100%[===========================================>]  
 8.60M 2.15MB/s   in 4.5s   

2015-05-14 11:34:57 (1.91 MB/s) - ‘Packages.gz’ saved [9019439/9019439]

 $ wget http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
--2015-05-14 11:53:11--  
http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/Packages
Resolving ftp.fr.debian.org (ftp.fr.debian.org)... 212.27.32.66, 
2a01:e0c:1:1598::2
Connecting to ftp.fr.debian.org (ftp.fr.debian.org)|212.27.32.66|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 9019439 (8.6M) [application/x-gzip]
Saving to: ‘Packages’

Packages                    100%[===========================================>]  
 8.60M  2.32MB/s   in 4.4s   

2015-05-14 11:53:16 (1.94 MB/s) - ‘Packages’ saved [9019439/9019439]

 $ ls -l
...  9019439 Apr 26 15:16 Packages
...  9019439 Apr 26 15:16 Packages.gz

The webpages show:

http://ftp.us.debian.org/debian/dists/jessie/main/binary-amd64/ (spaces pruned)

Index of /debian/dists/jessie/main/binary-amd64/

../
Packages.gz       26-Apr-2015 20:16        9019439
Packages.xz       26-Apr-2015 20:17        6765188
Release           25-Apr-2015 11:11        94

and:

http://ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/ (raw cut and 
paste)

Index of /debian/dists/jessie/main/binary-amd64
[ICO] Name      Last modified   Size    Description
[DIR] Parent Directory                  -        
[ ]   Packages.gz                       26-Apr-2015 22:16       8.6M

[ ]   Packages.xz                       26-Apr-2015 22:17       6.5M

[ ]   Release                           25-Apr-2015 13:11       94

Apache/2.2.22 (Debian) Server at ftp.fr.debian.org Port 80

The uk site looks like the us one (including the UTC time zone).

This is what makes me think it's in the network, or apt's
configuration for reacting to such differences in servers. And I think
that the bug Ralf Katz mentioned (624122) was concerned partly with
the introduction of .xz compression.

I'm not myself familiar with how web servers and their clients, or
indeed wget, handle this area.

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150514172032.GA10290@alum

Reply via email to