Symptom:
$ /usr/share/apt-cacher/apt-cacher-cleanup.pl
[...]
Use of uninitialized value in concatenation (.) or string at /usr/share/apt-cacher/apt-cacher-lib.pl line 138, <$listpipe> line 121229.
Use of uninitialized value in concatenation (.) or string at /usr/share/apt-cacher/apt-cacher-lib.pl line 138, <$listpipe> line 121230.
Use of uninitialized value in concatenation (.) or string at /usr/share/apt-cacher/apt-cacher-lib.pl line 138, <$listpipe> line 121253.
[...]
Reason:
"Sources" files are in a different format than expected?!
Workaround:
--- /usr/share/apt-cacher/apt-cacher-lib.pl~ 2008-04-27 12:22:37.000000000 +0200
+++ /usr/share/apt-cacher/apt-cacher-lib.pl 2008-04-27 12:21:12.000000000 +0200
@@ -133,7 +133,11 @@
# Index format similar to Sources but filenames need to be
# corrected
# FIXME: this is sha1, not md5. Different format, can be
# detected by
# the length (40), though
+ if ($indexbase) {
$file=$indexbase.$2.".gz";
+ } else {
+ $file=$2;
+ }
}
elsif(/^\s(\w{32})\s\d+\s(\S+)\n/) {
$sum=$1;
Regards,
Frank.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'oldstable'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-3-686
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages apt-cacher depends on:
ii bzip2 1.0.3-6 high-quality block-sorting file co
ii libwww-perl 5.805-1 WWW client/server library for Perl
ii perl 5.8.8-7etch3 Larry Wall's Practical Extraction
apt-cacher recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Thanks,
Do you have a Sources file that is the different format?
Mark
> Do you have a Sources file that is the different format?
http://ftp2.de.debian.org/debian/dists/unstable/main/source/Sources.gz
But I wonder if I am on the right way
Regards, Frank.