Package: debmirror
Version: 1:2.3
Severity: normal

I copied the example debmirror.conf to ~/.debmirror.conf and then modified it.  
The "@extra_dirs" option there results in the following error:

Undefined subroutine &main::get_packages called at /usr/bin/debmirror line 931.

When I used "@rsync_extra" instead in ~/.demirror.conf, debmirror downloaded 
the extra files correctly.  I cannot find any other option in debmirror(1) that 
would match "@extra_dirs".

It seems that the example needs to be changed at line 26: 
s/@extra_dirs/@rsync_extra/

Please consider closely, rather than loosely, matching the config options to 
the command-line options to eliminate this sort of guesswork.

Thanks.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (730, 'stable'), (720, 'testing'), (710, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30+67 (SMP w/2 CPU cores)
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-1         high-quality block-sorting file co
ii  libcompress-zlib-perl    2.012-1         Perl module for creation and manip
ii  libdigest-sha1-perl      2.11-2+b1       NIST SHA-1 message digest algorith
ii  liblockfile-simple-perl  0.206-1         Simple advisory file locking
ii  libwww-perl              5.813-1         WWW client/server library for Perl
ii  perl [libdigest-md5-perl 5.10.0-19lenny2 Larry Wall's Practical Extraction 
ii  perl-modules [libnet-per 5.10.0-19lenny2 Core Perl modules
ii  rsync                    3.0.3-2         fast remote file copy program (lik

Versions of packages debmirror recommends:
ii  ed                        0.7-3          The classic unix line editor
ii  gnupg                     1.4.9-3+lenny1 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

Attachment: signature.asc
Description: Digital signature

Reply via email to