Package: approx Version: 1.15 Severity: important When using http://ftp.pl.debian.org/debian/ mirror creates a corrupted Packages.gz file:
szrenica:/var/cache/approx/debian/dists/sid/main/binary-i386# l total 3408 -rw-r--r-- 1 approx approx 3483398 May 23 21:08 Packages.gz -rw-r--r-- 1 approx approx 82 May 23 21:27 Release szrenica:/var/cache/approx/debian/dists/sid/main/binary-i386# file Packages.gz Packages.gz: data szrenica:/var/cache/approx/debian/dists/sid/main/binary-i386# md5sum Packages.gz d8cf87c651fcf3553d5b69a5fe72accb Packages.gz szrenica:/var/cache/approx/debian/dists/sid/main/binary-i386# The same file downloaded directly with wget: szrenica:/tmp$ ls -l Packages.gz -rw-r--r-- 1 miernik miernik 3545128 2005-05-23 21:08 Packages.gz szrenica:/tmp$ file Packages.gz Packages.gz: gzip compressed data, from Unix, max compression szrenica:/tmp$ md5sum Packages.gz cf2a7a2f28edf09e8a1cbb46eab2a4d9 Packages.gz szrenica:/tmp$ Also in /var/log/daemon.log : May 24 21:13:12 szrenica approx: Connection from 127.0.0.1 May 24 21:13:12 szrenica approx: Request /debian/dists/sid/main/binary-i386/Packages.gz May 24 21:13:12 szrenica approx: if-range: Tue, 24 May 2005 19:09:10 GMT May 24 21:13:12 szrenica approx: connection: keep-alive May 24 21:13:12 szrenica approx: range: bytes=3483397- May 24 21:13:12 szrenica approx: host: localhost:9999 May 24 21:13:12 szrenica approx: user-agent: Debian APT-HTTP/1.3 May 24 21:13:12 szrenica approx: http://ftp.pl.debian.org/debian/dists/sid/main/binary-i386/Packages.gz May 24 21:13:14 szrenica approx: HTTP/1.1 200 OK May 24 21:13:14 szrenica approx: Server: thttpd May 24 21:13:14 szrenica approx: Accept-Ranges: bytes May 24 21:13:14 szrenica approx: Date: Tue, 24 May 2005 19:14:31 GMT May 24 21:13:14 szrenica approx: Last-Modified: Mon, 23 May 2005 19:08:01 GMT May 24 21:13:14 szrenica approx: Content-Type: text/plain; charset=iso-8859-1 May 24 21:13:15 szrenica approx: No CRLF in header: Content-Encoding: May 24 21:13:15 szrenica approx: No CRLF in header: E#<F1>ESCP<85><96><F4><CC><D0>8<86>K<BA><EC> txB<ED>D<D1><E5><91><AE><C7><DB>y May 24 21:13:15 szrenica approx: Unrecognized response: E#<F1>ESCP<85><96><F4><CC><D0>8<86>K<BA><EC> txB<ED>D<D1><E5><91><AE><C7> May 24 21:13:15 szrenica approx: No CRLF in header: R^\<F9><B3><95>^^<EA>p<A7><C2>q_<86><96><C5>M<C3>%<9B><AA>\s5ESCb<CF><F4><A2> May 24 21:13:15 szrenica approx: Unrecognized response: R^\<F9><B3><95>^^<EA>p<A7><C2>q_<86><96><C5>M<C3>%<9B><AA>\s5ESCb<CF><F4> May 24 21:13:15 szrenica approx: No CRLF in header: <C3>1!<9B><F1><B1>\'/JD<96><9A><A7><92><C0><FF><83>&x/<80>W<8D>(<F1><D9>H May 24 21:13:15 szrenica approx: Unrecognized response: <C3>1!<9B><F1><B1>\'/JD<96><9A><A7><92><C0><FF><83>&x/<80>W<8D>(<F1><D9>H May 24 21:13:15 szrenica approx: No CRLF in header: }<D7><B5><8F>(<E5>t<B7>UUB<95>m<BC>^To^?#<F1><9A><FA>[^O^P<AA><BC><97>^Yy^_L<A2> May 24 21:13:15 szrenica approx: Unrecognized response: }<D7><B5><8F>(<E5>t<B7>UUB<95>m<BC>^To^?#<F1><9A><FA>[^O^P<AA><BC><97>^Yy^_L May 24 21:13:15 szrenica approx: No CRLF in header: <AD><AD>^W^Zql<AC>* <A0><96><A9><A4>M6<A5><A4><BB><96>HPVe^]<A5><8D>E^Gh<9A><9E> This does not happen when using the http://ftp.nl.debian.org/ mirror for example: szrenica:/tmp$ wget -S http://ftp.pl.debian.org/debian/dists/sid/main/binary-i386/Packages.gz -O Packages.pl.gz --02:46:25-- http://ftp.pl.debian.org/debian/dists/sid/main/binary-i386/Packages.gz => `Packages.pl.gz' Resolving ftp.pl.debian.org... 153.19.251.222 Connecting to ftp.pl.debian.org[153.19.251.222]:80... connected. HTTP request sent, awaiting response... 1 HTTP/1.0 200 OK 2 Server: thttpd 3 Accept-Ranges: bytes 4 Date: Wed, 25 May 2005 00:47:42 GMT 5 Last-Modified: Tue, 24 May 2005 19:08:30 GMT 6 Content-Type: text/plain; charset=iso-8859-1 7 Content-Encoding: 8 Content-Length: 3547127 9 Connection: close 100%[========================================================================================>] 3,547,127 225.71K/s ETA 00:00 02:46:44 (190.91 KB/s) - `Packages.pl.gz' saved [3547127/3547127] szrenica:/tmp$ wget -S http://ftp.nl.debian.org/debian/dists/sid/main/binary-i386/Packages.gz -O Packages.nl.gz --02:46:50-- http://ftp.nl.debian.org/debian/dists/sid/main/binary-i386/Packages.gz => `Packages.nl.gz' Resolving ftp.nl.debian.org... 130.89.175.33 Connecting to ftp.nl.debian.org[130.89.175.33]:80... connected. HTTP request sent, awaiting response... 1 HTTP/1.1 200 OK 2 Date: Wed, 25 May 2005 00:48:07 GMT 3 Server: Apache/2.0.54 (Debian GNU/Linux) mod_perl/1.999.21 Perl/v5.8.4 4 Last-Modified: Tue, 24 May 2005 19:08:30 GMT 5 ETag: "8a805a-361ff7-e9f3c780" 6 Accept-Ranges: bytes 7 Content-Length: 3547127 8 Keep-Alive: timeout=15, max=100 9 Connection: Keep-Alive 10 Content-Type: text/plain; charset=ISO-8859-1 11 Content-Encoding: x-gzip 100%[========================================================================================>] 3,547,127 235.11K/s ETA 00:00 02:47:09 (187.12 KB/s) - `Packages.nl.gz' saved [3547127/3547127] szrenica:/tmp$ md5sum Packages.pl.gz 95cff5e5ea417a8268aaddd52477f1a3 Packages.pl.gz szrenica:/tmp$ md5sum Packages.nl.gz 95cff5e5ea417a8268aaddd52477f1a3 Packages.nl.gz szrenica:/tmp$ The files are identical, the difference that most probably matters is the Content-Encoding: header, which is empty in the pl mirror where the problem appears, and x-gzip in the nl mirror where it is OK. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (990, 'unstable'), (50, 'experimental') Architecture: i386 (i586) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.11-1-386 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages approx depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libcurl3 7.13.2-2 Multi-protocol file transfer libra ii libidn11 0.5.13-1.0 GNU libidn library, implementation ii libpcre3 5.0-1 Perl 5 Compatible Regular Expressi ii libssl0.9.7 0.9.7g-1 SSL shared libraries ii wget 1.9.1-11 retrieves files from the web ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]