#include <hallo.h> * M. Vefa Bicakci [Sun, Jul 04 2010, 03:15:21PM]: > After upgrading apt-cacher-ng from 0.4.7-1 to 0.4.8-1, I noticed that > apt-cacher-ng started to report a lot of 503 errors in > /var/log/apt-cacher-ng/apt-cacher.err, and apt-get stopped working > properly with apt-cacher-ng. After I downgraded apt-cacher-ng to > 0.4.7-1, everything started to work properly.
First, we have just passed a server switch. Maybe your mirror uses buggy software which couldn't cope with changes of time stamps. What exactly is your mirror server? > Here are a few sample lines from apt-cacher.err: > > === > Sun Jul 4 15:03:40 > 2010|/var/cache/apt-cacher-ng/debrep/dists/unstable/Release storage error > [503 Server disagrees on file size, cleaning up]: Resource temporarily > unavailable > Sun Jul 4 15:03:41 > 2010|/var/cache/apt-cacher-ng/debrep/dists/unstable/contrib/binary-i386/Packages.diff/Index > storage error [503 Server disagrees on file size, cleaning up]: Resource > temporarily unavailable > Sun Jul 4 15:04:58 > 2010|/var/cache/apt-cacher-ng/debrep/dists/unstable/contrib/binary-i386/Packages.bz2 > storage error [503 Server disagrees on file size, cleaning up]: Resource > temporarily unavailable That's confusing. The server didn't like the requested range and refused to resume the download, maybe because of bad value, maybe because the server is just confused because of wrong timestamps. > === > # apt-get dist-upgrade > > Reading package lists... Done > Building dependency tree > Reading state information... Done > Calculating upgrade... Done > The following packages will be upgraded: > firebird2.1-common-doc hpijs hplip hplip-cups hplip-data initscripts > libhpmud0 libsoup-gnome2.4-1 libsoup2.4-1 libtelepathy-glib0 sysv-rc sysvinit > sysvinit-utils > 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > Need to get 14.2MB/14.5MB of archives. > After this operation, 635kB of additional disk space will be used. > Do you want to continue [Y/n]? y > Get:1 http://localhost unstable/main initscripts 2.88dsf-11 [69.8kB] > Err http://localhost unstable/main firebird2.1-common-doc 2.1.3.18185-0.ds1-10 > Bad header line Now that's interesting. Could you run: apt-get -dy dist-upgrade -o Debug::Acquire::Http=true ... please? You might also set the Debug value in acng.conf to 4. > # Forbid all downloads that don't run through preconfigured backends (.where) > #ForceManaged: 0 > ForceManaged: 1 Does setting to 0 help? Thanks, Eduard. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org