[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#488264: regression: errors out on empty include-debs option



Package: debootstrap
Version: 1.0.9
Severity: normal

Hi,

debootstrap fails when supplied an empty set of packages to include:

/usr/sbin/debootstrap --include= --exclude=adduser,apt-utils \
 --arch powerpc etch /tmp/aap3 http://ftp.nl.debian.org/debian
E: unrecognized or invalid option --include=

This works successfully on etch so I think it's a regression introduced
in 1.0.9 with this change:
  * Error out on unrecognized options to avoid invalid options to be 
    recognized as arguments.

We use debootstrap in a shell script where it is called like this:
/usr/sbin/debootstrap --include="$INCLUDEDEBS" --exclude="$EXCLUDEDEBS" \
        --arch "$ARCH" etch "$CHROOTDIR" "$DEBMIRROR"
and I think it's quite reasonable if $INCLUDEDEBS is set to an empty
string if I don't want to include any extra debs. I don't see problems
with the existing behaviour so I hope that can be resurrected.


cheers,
Thijs

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-1-powerpc
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debootstrap depends on:
ii  binutils            2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii  wget                1.11.3-1             retrieves files from the web

debootstrap recommends no packages.

-- no debconf information



Reply to: