Package: debmirror
Version: 1:2.7
Severity: important
Tags: patch

While attempting to mirror lenny, squeeze, squeeze-updates and sid,
I noticed that debmirror was trying to get debian-installer for
squeeze-updates, which doesn't exist.

Although the following patch fixes the issue, I think there should be
a single regex for /.*-updates/ that takes care of this issue and the
ones showing in context.

*** /usr/bin/debmirror  2011-02-22 13:23:37.000000000 -0430
--- debmirror   2011-03-21 11:09:49.310273147 -0430
***************
*** 979,984 ****
--- 979,985 ----
      next if ($section =~ /debian-installer/ && $dist =~ 
/.*-proposed-updates/);
      next if ($section =~ /debian-installer/ && $dist =~ /.*breezy-updates/ );
      next if ($section =~ /debian-installer/ && $dist eq "breezy-security" );
+     next if ($section =~ /debian-installer/ && $dist eq "squeeze-updates" );
      foreach my $arch (@arches) {
        get_index("dists/$dist/$section/binary-$arch", "Packages");
        link_index($dist,$section,$arch) if $debmarshal;
-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (1000, 'stable'), (1, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-core2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debmirror depends on:
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  libcompress-zlib-perl         2.024-1    Transitional dummy package for Com
pn  libdigest-md5-perl            <none>     (no description available)
ii  liblockfile-simple-perl       0.207-1    Simple advisory file locking
ii  libwww-perl                   5.837-1    simple and consistent interface to
ii  perl [libdigest-sha-perl]     5.10.1-17  Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.10.1-17  Core Perl modules
ii  rsync                         3.0.7-2    fast remote file copy program (lik

Versions of packages debmirror recommends:
ii  ed                            1.4-3      The classic UNIX line editor
ii  gpgv                          1.4.10-4   GNU privacy guard - signature veri
ii  patch                         2.6-3      Apply a diff file to an original

Versions of packages debmirror suggests:
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to