-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: apt-cacher Version: 1.6.1
Hi, I had the same problem, and made apt-cacher work when I renamed /var/cache/apt-cacher/sums.db out of the way. I tried your patch in order to give you more informations, find my error.log attached. In fact, I noticed a problem on the cron-daily report, and I have it again now, maybe it could be linked : > /etc/cron.daily/apt-cacher: > Unable to create DB environment: DB_RUNRECOVERY: Fatal error, run database > recovery. > Trying to recover database > Unable to create DB environment: DB_RUNRECOVERY: Fatal error, run database > recovery. > Trying to recover database > Unable to create DB environment: DB_RUNRECOVERY: Fatal error, run database > recovery. > Trying to recover database > Timeout opening DB: disabling checksumming I tried again apt-cacher-cleanup.pl -r but I have the same error, (that's why I renamed sums.db a few days ago) : sh-3.1$ /usr/share/apt-cacher/apt-cacher-cleanup.pl -r Could not read config file: No such file or directory at /usr/share/apt-cacher//apt-cacher-lib.pl line 39. This time, I (quick and dirty) patched apt-cacher-lib.pl in order to make it work again : $ diff -u /usr/share/apt-cacher/apt-cacher-lib-init.pl /usr/share/apt-cacher/apt-cacher-lib.pl - --- /usr/share/apt-cacher/apt-cacher-lib-init.pl 2008-01-20 10:28:24.000000000 -0400 +++ /usr/share/apt-cacher/apt-cacher-lib.pl 2008-01-20 10:07:22.000000000 -0400 @@ -34,7 +34,7 @@ fetch_timeout => 300 # five minutes from now ); - - (my $config_file) = @_; + (my $config_file) = '/etc/apt-cacher/apt-cacher.conf'; open CONFIG, $config_file or die $!; And it seems ok : sh-3.1$ /usr/share/apt-cacher/apt-cacher-cleanup.pl -r Checksum database mode Running database recovery...Done! Hope this help David - --- System information. --- Architecture: i386 Kernel: Linux 2.6.23-1-686 Debian Release: lenny/sid 990 unstable lapin 500 etch lapin 1 experimental lapin - --- Package information. --- Depends (Version) | Installed ===============================-+-=========== bzip2 | 1.0.4-2 ed | 0.7-1 libwww-curl-perl | 3.02-2+b3 perl | 5.8.8-12 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHk14818/WetbTC/oRAh8XAJ4pqcxhBf0n1rEgi7tXU6t/JJwsaACgjK78 f+sxH7t5H1POzr9wnMH+aVk= =4RTN -----END PGP SIGNATURE-----
error.log.tar.gz
Description: GNU Zip compressed data