[Bug 34376] Re: missing main/debian-installer in repo causes debmirror to fail

Scott Merrilees scott at merrilees.net
Wed Mar 31 08:03:18 UTC 2010


Seems like debmirror has an undocumented --skip-installer option vis:

      # skip debian-installer for each dist in --skip-installer=foo,...
      if ($section =~ /debian-installer/) {
        my $skipped = 0;
        foreach my $skipped_release (@skip_installer) {
          if ($dist eq $skipped_release) {
            $skipped = 1;
            last;
          }
        }
        next if $skipped;
      }

I currently configure manually, however next time I have to change the
debmirror script, I'm going to rsync probe the debian-installers
existance to dynamically build the $skip_installer variable which
contains the --skip-installer argument for by current debmirror script:

$debug debmirror --nosource --passive --verbose \
        $md5sum \
        $pdiff \
        $max \
        $dry \
        $nocleanup \
        $small \
        $rbatch \
        $skip_installer \
        $ignore_installer_arch \
        --ignore /dist-upgrader-all/ \
        --section=main,restricted,universe,multiverse,main/debian-installer \
        --method=$method \
        --host=$rhost \
        --dist=$dist \
        --arch=$arch \
        --root=$root \
        $spoolA/ubuntu
)

So maybe the real bug now is a documentation bug for debmirror(1) as at
least debmirror --help shows --skip-installer as an option.

-- 
missing main/debian-installer in repo causes debmirror to fail
https://bugs.launchpad.net/bugs/34376
You received this bug notification because you are a member of MOTU,
which is a direct subscriber.




More information about the universe-bugs mailing list