Package: debmirror
Version: 1:1.0
Severity: normal
Tags: patch
experimental's suite and codename are the same so debmirror fails and
aborts when it tries renaming it.
e.g.
/usr/bin/debmirror: Created directory: .temp/.tmp/dists/experimental/
http://ftp.iinet.net.au//debian/debian/dists/experimental/Release => [0%]
Getting: dists/experimental/Release... 200 OK
ok
http://ftp.iinet.net.au//debian/debian/dists/experimental/Release.gpg => [0%]
Getting: dists/experimental/Release.gpg... 200 OK
ok
The directory for a dist should be its codename, not a suite.
Starting conversion - renaming '.temp/dists/experimental' to
'.temp/dists/experimental':
directory '.temp/dists/experimental' already exists; aborting conversion
WARNING: releasing 1 pending lock...
patch included.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30.4 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages debmirror depends on:
ii bzip2 1.0.5-3 high-quality block-sorting file co
ii libcompress-zlib-perl 2.015-1 Perl module for creation and manip
ii libdigest-sha1-perl 2.12-1 NIST SHA-1 message digest algorith
ii liblockfile-simple-perl 0.207-1 Simple advisory file locking
ii libwww-perl 5.831-1 WWW client/server library for Perl
ii perl [libdigest-md5-perl] 5.10.0-25 Larry Wall's Practical Extraction
ii perl-modules [libnet-perl] 5.10.0-25 Core Perl modules
ii rsync 3.0.6-1 fast remote file copy program (lik
Versions of packages debmirror recommends:
ii ed 1.4-1 The classic UNIX line editor
ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep
ii patch 2.5.9-5 Apply a diff file to an original
debmirror suggests no packages.
-- no debconf information
--- /usr/bin/debmirror.orig 2009-08-21 03:42:52.000000000 +1000
+++ /usr/bin/debmirror 2009-08-22 19:43:34.257631135 +1000
@@ -1785,6 +1785,7 @@
sub rename_distdir {
my ($dir, $codename, $suite) = @_;
+ return if ($codename eq $suite); # experimental's codename and suite are
the same.
say("The directory for a dist should be its codename, not a suite.");
if (!$allow_dist_rename) {
say("Use --allow-dist-rename to have debmirror do the conversion
automatically.");