Bug#315875: debootstrap --print-debs prints extra output, breaking other tools

2005-06-27 Thread Colin Watson
On Sun, Jun 26, 2005 at 05:43:32PM +0100, Colin Watson wrote:
 'debootstrap --print-debs sid directory mirror' prints the following
 to stdout:
 
 I: Retrieving Release
 I: Retrieving Packages
 I: Validating Packages
 base-files base-passwd bash bsdutils coreutils debconf debconf-i18n 
 debianutils diff dpkg dselect e2fslibs e2fsprogs findutils gcc-3.3-base grep 
 gzip hostname initscripts libacl1 libattr1 libblkid1 libc6 libcap1 libcomerr2 
 libdb1-compat libdb3 libgcc1 liblocale-gettext-perl libncurses5 libnewt0.51 
 libpam-modules libpam-runtime libpam0g libss2 libstdc++5 
 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libuuid1 
 login makedev mawk mount ncurses-base ncurses-bin passwd perl-base procps sed 
 slang1a-utf8 sysv-rc sysvinit tar util-linux zlib1g adduser apt apt-utils 
 aptitude base-config bsdmainutils console-common console-data console-tools 
 cpio cron dhcp-client ed gettext-base groff-base ifupdown info iptables 
 iputils-ping klogd libconsole libdb4.2 libgcrypt11 libgdbm3 libgnutls11 
 libgpg-error0 liblockfile1 liblzo1 libncursesw5 libopencdk8 libpcre3 libpopt0 
 libsigc++-1.2-5c102 libssl0.9.7 libtasn1-2 libtextwrap1 libwrap0 logrotate 
 mac-fdisk man-db manpages modutils nano net-tools netbase netcat netkit-inetd 
 nvi powerpc-utils sysklogd tasksel tcpd traceroute wget whiptail yaboot
 
 The extra status output at the start causes problems for other tools
 that parse 'debootstrap --print-debs'; one such tool is debian-cd.
 Please arrange not to display this status output when doing
 --print-debs, or to print it to stderr.

This implements the latter, although making it do the former instead
would be trivial:

  http://patches.ubuntu.com/patches/debootstrap.315875.diff

-- 
Colin Watson   [EMAIL PROTECTED]



Bug#315875: debootstrap --print-debs prints extra output, breaking other tools

2005-06-26 Thread Colin Watson
Package: debootstrap
Version: 0.3.1
Severity: important

'debootstrap --print-debs sid directory mirror' prints the following
to stdout:

I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
base-files base-passwd bash bsdutils coreutils debconf debconf-i18n debianutils 
diff dpkg dselect e2fslibs e2fsprogs findutils gcc-3.3-base grep gzip hostname 
initscripts libacl1 libattr1 libblkid1 libc6 libcap1 libcomerr2 libdb1-compat 
libdb3 libgcc1 liblocale-gettext-perl libncurses5 libnewt0.51 libpam-modules 
libpam-runtime libpam0g libss2 libstdc++5 libtext-charwidth-perl 
libtext-iconv-perl libtext-wrapi18n-perl libuuid1 login makedev mawk mount 
ncurses-base ncurses-bin passwd perl-base procps sed slang1a-utf8 sysv-rc 
sysvinit tar util-linux zlib1g adduser apt apt-utils aptitude base-config 
bsdmainutils console-common console-data console-tools cpio cron dhcp-client ed 
gettext-base groff-base ifupdown info iptables iputils-ping klogd libconsole 
libdb4.2 libgcrypt11 libgdbm3 libgnutls11 libgpg-error0 liblockfile1 liblzo1 
libncursesw5 libopencdk8 libpcre3 libpopt0 libsigc++-1.2-5c102 libssl0.9.7 
libtasn1-2 libtextwrap1 libwrap0 logrotate mac-fdisk man-db manpages modutils 
nano net-tools netbase netcat netkit-inetd nvi powerpc-utils sysklogd tasksel 
tcpd traceroute wget whiptail yaboot

The extra status output at the start causes problems for other tools
that parse 'debootstrap --print-debs'; one such tool is debian-cd.
Please arrange not to display this status output when doing
--print-debs, or to print it to stderr.

Thanks,

-- 
Colin Watson   [EMAIL PROTECTED]