On Wed, Jul 15, 2009 at 05:31:49PM -0400, Dominique Brazziel wrote:
> Package: apt-cacher
> Version: 1.6.8
> Severity: normal
> 
>     After running cleanly for a few weeks, the daily cron job
> 'apt-cacher' emits one or more error messages (usually one for each
> main repository):
> 
> Error: cannot open 
> debian.mirror.frontiernet.net_debian_dists_testing_Contents-i386.bz2 for 
> locking: No such file or directory
> Error: cannot open www.debian-multimedia.org_dists_testing_Contents-i386.bz2 
> for locking: No such file or directory
> 

Could you try the patch below.

Mark


commit d0c393899e84edc4da1ae4bf07e11c771de0d610
Author: Mark Hindley <m...@hindley.org.uk>
Date:   Tue Jul 21 16:09:30 2009 +0100

    Possible fix for #537189

diff --git a/apt-cacher-cleanup.pl b/apt-cacher-cleanup.pl
index 62f2acf..18c1f56 100755
--- a/apt-cacher-cleanup.pl
+++ b/apt-cacher-cleanup.pl
@@ -609,7 +609,11 @@ for (@ifiles) {
     }
 }
 
-# use the list of config files we already know
+# get new list of config files
+set_global_lock(": file state decision");
+...@ifiles=(<*Release>, <*_Index>, <*es.gz>, <*es.bz2>, <*es>);
+release_global_lock();
+
 for my $file (@ifiles) {
     printmsg "Reading: $file\n";
 



-- 
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