Package: apt-cacher Version: 1.7.4 Severity: normal Hi,
I -think- I've found a chunk-related bug. The initial symptom is a
slow-running (due to waiting for server-end timeouts) apt-get update,
accompanied by a BADSIG error from gpg.
curl hints at a problem:
michael@porty:~/Downloads$ http_proxy=ying:3142 curl -D -
dl.google.com/linux/talkplugin/deb/dists/stable/Release
HTTP/1.1 200 OK
Cache-Control: private
Connection: Keep-Alive
Date: Sun, 22 Jul 2012 16:54:55 GMT
Transfer-Encoding: chunked
Via: 1.1 ying:3142 (apt-cacher/1.7.4)
Accept-Ranges: bytes
ETag: 2f23c
Server: downloads
Vary: *
Content-Length: 1347
Content-Type: text/html
Last-Modified: Fri, 20 Jul 2012 00:37:00 GMT
Keep-Alive: timeout=15, max=100
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
curl: (56) Problem (2) in the Chunked-Encoded data
It looks a bit like apt-cacher is saying that it's returning a chunked
reply in the headers, and then failing to actually chunk the reply it
sends. APT seems to quietly ignore the lack of chunkedness in the reply,
and ends up eventually absorbing a 408 error into the response body.
Just in case I've made a horrible mistake, I've attached a pcap dump of the
above curl request, as seen from the apt-cacher machine's side.
-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (500, 'stable'), (490, 'testing'), (450, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt-cacher depends on:
ii debconf [debconf-2.0] 1.5.44 Debian configuration management sy
ii dpkg 1.16.4.3 Debian package management system
ii ed 1.4-3 The classic UNIX line editor
ii libfilesys-df-perl 0.92-4+b1 Module to obtain filesystem disk s
ii libfreezethaw-perl 0.5001-1 module to serialize and deserializ
ii libio-interface-perl 1.06-1+b1 socket methods to get/set interfac
ii libnetaddr-ip-perl 4.062+dfsg-1 IP address manipulation module
ii libsys-syscall-perl 0.23-1 module to access system calls that
ii libwww-curl-perl 4.15-1+b2 Perl bindings to libcurl
ii libwww-perl 6.04-1 simple and consistent interface to
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii perl 5.14.2-12 Larry Wall's Practical Extraction
ii update-inetd 4.43 inetd configuration file updater
Versions of packages apt-cacher recommends:
pn libberkeleydb-perl <none> (no description available)
Versions of packages apt-cacher suggests:
pn libio-socket-inet6-perl <none> (no description available)
-- debconf information:
* apt-cacher/mode: daemon
apt-cacher.pcap
Description: application/cap

