Your message dated Tue, 3 Mar 2009 23:19:18 +0000
with message-id <[email protected]>
and subject line Closing
has caused the Debian Bug report #478122,
regarding apt-cacher: "uninitialized value" in cleanup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
478122: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478122
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher
Version: 1.5.3
Severity: normal
Tags: patch


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



--- End Message ---
--- Begin Message ---
Package: apt-cacher
Version: 1.6.0

I am going to close this as it does not apply to apt-cacher 1.6.x which
is now in stable.

Mark


--- End Message ---

Reply via email to