Your message dated Thu, 23 Feb 2006 14:32:15 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#353152: fixed in apt-cacher 1.5.2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apt-cacher
Version: 1.5.1
Severity: important

The cleanup of the package cache should normally stop, of any
of the sources or packages files are unreadable, but this is
not the case.

As you can see from the following excerpt, unpacking one 
bzip2-compressed package file failed, because it was corrupt,
but apt-cacher-cleanup just went on and thus deleted all i386
packages from my package cache.

[...]
R: debian_dists_sid_main_binary-i386_Packages.bz2

bzcat: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzcat: Success
        Input file = debian_dists_sid_main_binary-i386_Packages.bz2, output 
file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

R: debian_dists_sid_main_binary-powerpc_Packages.bz2
R: debian_dists_sid_main_binary-sparc_Packages.bz2
R: debian_dists_sid_main_source_Sources.bz2
[...]
Found 58802 valid file entries
Removing source: 9base_2-1_i386.deb and company...
Removing source: a2ps_4.13b.dfsg.1-0.2_i386.deb and company...
Removing source: akregator_3.5.1-1_i386.deb and company...
Removing source: amavisd-new-milter_2.3.3-6_i386.deb and company...
Removing source: amsn_0.95-2_i386.deb and company...
Removing source: amule-common_2.1.0-3_i386.deb and company...
Removing source: amule-daemon_2.1.0-3_i386.deb and company...
Removing source: amule-utils_2.1.0-3_i386.deb and company...
Removing source: amule_2.1.0-3_i386.deb and company...
[...]

To work around this problem, I added the follwing (very crude
and inefficient) code to apt-cacher-lib.pl just before the open()
in line 129:

  `$cat $name >/dev/null` || die("C: Error processing $name, cleanup 
stopped\n");

The open() itself always returns 0 as long as $cat is available, even
if the command itself fails.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (950, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32-190
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages apt-cacher depends on:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  libwww-perl                   5.803-4    WWW client/server library for Perl
ii  perl                          5.8.8-2    Larry Wall's Practical Extraction 

apt-cacher recommends no packages.

-- debconf-show failed


--- End Message ---
--- Begin Message ---
Source: apt-cacher
Source-Version: 1.5.2

We believe that the bug you reported is fixed in the latest version of
apt-cacher, which is due to be installed in the Debian FTP archive:

apt-cacher_1.5.2.dsc
  to pool/main/a/apt-cacher/apt-cacher_1.5.2.dsc
apt-cacher_1.5.2.tar.gz
  to pool/main/a/apt-cacher/apt-cacher_1.5.2.tar.gz
apt-cacher_1.5.2_all.deb
  to pool/main/a/apt-cacher/apt-cacher_1.5.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eduard Bloch <[EMAIL PROTECTED]> (supplier of updated apt-cacher package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  23 Feb 2006 19:39:24 +0100
Source: apt-cacher
Binary: apt-cacher
Architecture: source all
Version: 1.5.2
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <[EMAIL PROTECTED]>
Changed-By: Eduard Bloch <[EMAIL PROTECTED]>
Description: 
 apt-cacher - caching proxy system for Debian package and source files
Closes: 352020 353152 353970
Changes: 
 apt-cacher (1.5.2) unstable; urgency=low
 .
   * Minor bugfix release
   * Improvements of the package description, mentioning approx/apt-proxy
     (closes: #352020)
   * always logging the disk-full messages, if possible, not only in debug mode
   * checking for exit status when reading index files in cleanup, catching
     file corruption cases (closes: #353152)
   * spelling error fixes in the manpage, thanks to A. Costa (closes: 353970)
Files: 
 54d2645084a3a0a834466bd483c84aaa 599 net optional apt-cacher_1.5.2.dsc
 69e32bbce9898d0047ca3e0b092096c0 83346 net optional apt-cacher_1.5.2.tar.gz
 104d3d70b76a9269522e7a1bc0069a0a 60410 net optional apt-cacher_1.5.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD/jYS4QZIHu3wCMURAg09AKCIbkD0ML81TS4aG1isnM/4eg9m7wCcCExP
FY1GcdZFyhlWHkoqBqwTa6I=
=Tk7j
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to