Package: apt-cacher
Version: 0.8.5

For two days running, the daily run of apt-cacher-cleanup.pl has output the
following warning messages:

/etc/cron.daily/apt-cacher:
Use of uninitialized value in substitution (s///) at 
/usr/share/apt-cacher/apt-cacher-cleanup.pl line 85.
Use of uninitialized value in substitution (s///) at 
/usr/share/apt-cacher/apt-cacher-cleanup.pl line 86.
Use of uninitialized value in split at 
/usr/share/apt-cacher/apt-cacher-cleanup.pl line 87.

It's probably not a coincidence that I've added files in /etc/cron.d on two
machines to download package lists and new versions of installed packages at
certain times and on certain days. I suspect that at least one of these
fetches was running when the cleanup scrip was run - looking at the code, it
would appear that a lists fetch was in progress.

I think that wrapping those three lines in an if block which checks whether
$barelist is defined is sufficient to at least treat the symptoms if not
necessarily the cause, which I suspect is decompression failure due to an
incompletely-downloaded file.

(This report references 0.8.5 since that's what's installed. If I'm right
about the cause, then it looks like it'll still happen in 0.8.6.)

-- 
| Darren Salt                    | nr. Ashington, | RISC OS,
| [EMAIL PROTECTED] | Northumberland | Linux
| [EMAIL PROTECTED]            | *Toon Army*    |     Say NO to UK ID cards
|                                                       http://www.no2id.net/

You have no real enemies.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to