Comment 0 for bug 1034679

Revision history for this message
Steve Atwell (satwell) wrote :

debmirror ignores debian-installer sections when mirroring *-updates dists. I'm running debmirror 1:2.10ubuntu1 on Precise.

To reproduce, try to mirror precise and precise-updates like this:

debmirror -a amd64 -s main,main/debian-installer -d precise,precise-updates \
        --method rsync --verbose /tmp/debmirror

Notice that dists/precise/main/debian-installer exists, but dists/precise-updates/main/debian-installer does not.

I think the culprit is this bit of code in the debmirror script that instructs debmirror to skip debian-installer mirroring for any dist that contains the string "-updates":

sub di_skip_dist {
  my $dist=shift;
  if ( $dist =~ /.*-updates/ ||
       defined($skip_installer{$dist}) ) {
    return 1;
  }
  return 0;
}