Package: debmirror
Version: 20050207
Followup-For: Bug #299342

I'm experiencing this bug, too, when mirror synchronization via rsync
requires many files to be downloaded.

This bug is due to a wrong reinitialization of the array [EMAIL PROTECTED]' in
the rsync part of the DOWNLOAD method. Downloading more than `$rsync_batch'
files will trigger the error.

I've attached a one-liner patch which resolves the issue.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.3-amd64-k8
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

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

Versions of packages debmirror recommends:
ii  gnupg                         1.4.2-2    GNU privacy guard - a free PGP rep

-- no debconf information
--- debmirror   2005-02-07 05:28:33.000000000 +0100
+++ debmirror   2005-10-09 13:27:54.000000000 +0200
@@ -837,7 +837,7 @@
              $num_errors++;
            }
          }
-         @result = "";
+         @result = ();
        }
        if ($max_batch > 0 && ++$i >= $max_batch) {
          print "Batch limit exceeded, mirror run will be partial\n";

Reply via email to