Package: debmirror Version: 20050207 Severity: minor Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
When using the ftp download method the percentage goes way over 100% in verbose display method. It does not take the already downloaded metadata into account properly. Patch attached. Ingo - -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (800, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-schwan20051106 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages debmirror depends on: ii bzip2 1.0.2-11 high-quality block-sorting file co ii libcompress-zlib-perl 1.41-1 Perl module for creation and manip ii liblockfile-simple-perl 0.2.5-7 Simple advisory file locking ii libnet-perl 1:1.19-1 Implementation of Internet protoco ii libwww-perl 5.803-4 WWW client/server library for Perl ii perl [libdigest-md5-perl] 5.8.7-8 Larry Wall's Practical Extraction ii perl-modules [libnet-perl] 5.8.7-8 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDkk1z4XrXtQkN2NURAqn9AJ4+OLVe/1oUapRa6jXyNl287m7VmACaA57h ff9tmpbZCzuO/wxQ0TvuPWg= =tspf -----END PGP SIGNATURE-----
--- debmirror.orig 2005-12-04 02:45:06.724128357 +0100 +++ debmirror 2005-12-04 02:49:28.001777699 +0100 @@ -727,6 +727,7 @@ cleanup_unknown_files() if ($cleanup && ! $post_cleanup); say("Download all files that we need to get (".int(1+$bytes_to_get/1024/1024)." MiB)."); +$bytes_to_get += $bytes_gotten; # We already downloaded the metadata # Download all files that we need to get. DOWNLOAD: { init_connection;