the cron script redirects stderr to /dev/null, so the sysadmin doesn't
get to see any error messages from apt-cacher-cleanup.pl.

This is the tail of running the cleanup script with strace:

stat64("/var/cache/apt-cacher/temp/dists_lenny_updates_main_binary-i386_Packages.gz",
 {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(2, "Found empty index file dists_lenn"..., 201Found empty index file 
dists_lenny_updates_main_binary-i386_Packages.gz. Delete this manually or use 
--force if the repository is no longer interesting. 
Exiting to prevent deletion of cache contents.
) = 201
close(5)                                = 0
unlink("/var/tmp/BDB14396")             = 0
munmap(0xb7a97000, 159744)              = 0
close(3)                                = 0
exit_group(25)                          = ?

and sure enough, line 643 of apt-cacher-cleanup.pl has die() with that
error message.

I guess not hiding these messages from the admin would be a good start.

John



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to