Package: debmirror Version: 20070123 Severity: normal Tags: patch I have seen this:
Parse Packages and Sources files and add to the file list everything therein. Download all files that we need to get (19 MiB). [...] [100%] Getting: dists/etch/LcsXP/binary-i386//ldapedu_4.1~1~svn3918_all.deb Downloaded 19 MiB in 34s at 551.95 kiB/s Errors: Download of dists/etch/Release failed: dists/etch/Release: No such file or directory Download of dists/etch/Release.gpg failed: dists/etch/Release.gpg: No such file or directory Ignoring failed Release files Ignoring missing Release file for dists/etch/LcsXP/binary-i386/Packages.gz Everything OK. Moving meta files. Cleanup mirror. deleting dists/etch/LcsXP/binary-i386/ldapedu_4.1~1~svn3918_all.deb [...] As you see the Packages file references a file with two backslashes in its path. And when debmirror does the find on the local mirror it returns the filename with a single slash of course. Thus it immediately removes the downloaded file... The fix is quite simple (around line 824): } $_ = $buf; ($filename)=m/^Filename:\s+(.*)/im; + $filename =~ s{/+}{/}g; ($deb_section)=m/^Section:\s+(.*)/im; ($deb_priority)=m/^Priority:\s+(.*)/im; ($architecture)=m/^Architecture:\s+(.*)/im; Cheers, -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debmirror depends on: ii bzip2 1.0.4-4 high-quality block-sorting file co ii libcompress-zlib-perl 2.008-2 Perl module for creation and manip ii libdigest-sha1-perl 2.11-2 NIST SHA-1 message digest algorith ii liblockfile-simple-perl 0.206-1 Simple advisory file locking ii libwww-perl 5.808-1 WWW client/server library for Perl ii perl [libdigest-md5-perl] 5.8.8-12 Larry Wall's Practical Extraction ii perl-modules [libnet-perl] 5.8.8-12 Core Perl modules ii rsync 3.0.0-2 fast remote file copy program (lik Versions of packages debmirror recommends: ii ed 0.7-1 The classic unix line editor ii gnupg 1.4.6-2.1 GNU privacy guard - a free PGP rep ii patch 2.5.9-4 Apply a diff file to an original -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]