#include <hallo.h>
* Richard Antony Burton [Fri, Mar 10 2006, 10:35:44PM]:
> Package: apt-cacher
> Severity: important
Which version?
> Noticed a lack of cached packages, checked cache directory and found no debs
> older than 7th March. Checked log and found this from the cleanup script:
> Tue Mar 7 06:25:45
> 2006|CLEANUPREFRESH|EXPIRED|0|ftp.debian.org_debian_dists_unstable_contrib_binary-i386_Packages.bz2
> Tue Mar 7 06:26:06
> 2006|CLEANUPREFRESH|EXPIRED|0|ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages.bz2
> Tue Mar 7 06:26:27
> 2006|CLEANUPREFRESH|EXPIRED|0|ftp.debian.org_debian_dists_unstable_non-free_binary-i386_Packages.bz2
> Tue Mar 7 06:26:48
> 2006|CLEANUPREFRESH|EXPIRED|0|ftp.nerim.net_debian-marillat_dists_sid_main_binary-i386_Packages.bz2
>
> Appears that it failed to download updated package lists and assumed there
> were
> no packages available, and so emptied the cache.
Bad. There are checks to prevent exactly this. The only scenario where I
can imagine this happening:
- the server delivered empty files with OK status code
- you have hit a bug in LWP (the file download backend) and it
propagated the error code incorrectly?
This all should become a little bit more reliable with apt-cacher II.
Eduard.
--
Commander Jeffrey David Sinclair: Everyone lies, Michael. The innocent lie
because they don't want to be blamed for something they didn't do and the
guilty lie because they don't have any other choice.
-- Quotes from Babylon 5 --
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]