Package: debmirror
Version: 20050118
Severity: normal

If there is some problem with the debmirror run, possibly due to a
missing file in the Debian archive, then debmirror will report errors
and abort, and will not move meta files out of the .temp directory.
This has the result of turning what is possibly a very small mirror 
problem into a much larger one.

Over the last few days, the debian archive has been missing a single
.orig.tar.gz file of some obscure package (I forget which one). Due to
this missing file, debmirror seems to have behaved as follows:

 1. Download new Packages &etc to .temp directory.
 2. Parse the files, clean up all old files in mirror that are not in
    the files.
 3. Download new debs and sources.
 4. Exit with error.

This leaves the mirror with old Packages files that refer to already
removed packages, which is probably much more inconsistent than if it
just copied the .temp files into place after a few failures. 

To work around this I am now running debmirror with
--ignore-small-errors. You should either make --ignore-small-errors the
default or make --postcleanup default as either option avoids the
problem I described.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debmirror depends on:
ii  bzip2                         1.0.2-4    high-quality block-sorting file co
ii  libcompress-zlib-perl         1.34-1     Perl module for creation and manip
ii  liblockfile-simple-perl       0.2.5-5    Simple advisory file locking
ii  libnet-perl                   1:1.19-1   Implementation of Internet protoco
ii  libwww-perl                   5.803-3    WWW client/server library for Perl
ii  perl [libdigest-md5-perl]     5.8.4-6    Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.8.4-6    Core Perl modules
ii  rsync                         2.6.3-2    fast remote file copy program (lik

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to