Here is the fix. The patch is coming from Debian BTS.

** Description changed:

  Binary package hint: apt-cacher
  
  Hi,
  
  Cron send me an email:
  Subject: Cron <r...@server01> test -x /usr/sbin/anacron || ( cd / && 
run-parts --report /etc/cron.daily )
  
  Use of uninitialized value in concatenation (.) or string at 
/usr/share/apt-cacher//apt-cacher-lib.pl line 169, <$listpipe> line 2692.
  and so on. Iattached a file with the complete Message and with the output of 
"sudo /usr/share/apt-cacher/apt-cacher-cleanup.pl -v"
  Greetings
  
  Michael
+ 
+ == SRU ==
+ 
+ During the daily cron, apt-cacher runs the apt-cacher-cleanup script. The 
output of the script is some thousands of line like:
+ Use of uninitialized value in concatenation (.) or string at 
/usr/share/apt-cacher//apt-cacher-lib.pl line 169, <$listpipe> line 153729.
+ 
+ The goal of the SRU is to fix the erroneous output for this script to
+ prevent sysadmin mailbox filling with those useless messages ;-). The
+ patch have been reviewed by upstream (the Debian maintainer), but not
+ included in Debian as 1.5 series are no more in Debian. Nevertheless, as
+ lot of servers are running our LTS, I think it worth fixing this here.
+ 
+ TEST CASE:
+  * install apt-acher
+  * have some packages entering the cache
+  * run by hand /usr/share/apt-cacher/apt-cacher-cleanup.pl
+  * see the output containing the lines given above
+  * with the proposed package, those errors are not shown anymore when running 
the script by hand.

** Attachment added: "debdiff for apt-acher in hardy"
   http://launchpadlibrarian.net/21766726/apt-cacher_1.5.5-0ubuntu0.1.debdiff

-- 
apt-cacher / Use of uninitialized value in concatenation / line 169
https://bugs.launchpad.net/bugs/223024
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to