Debian Bug report logs - #315875
debootstrap --print-debs prints extra output, breaking other tools

version graph

Package: debootstrap; Maintainer for debootstrap is Debian Install System Team <debian-boot@lists.debian.org>; Source for debootstrap is src:debootstrap (PTS, buildd, popcon).

Reported by: Colin Watson <cjwatson@debian.org>

Date: Sun, 26 Jun 2005 16:48:05 UTC

Severity: important

Tags: fixed, patch

Found in version 0.3.1

Fixed in version debootstrap/0.3.2

Done: Anthony Towns <aj@azure.humbug.org.au>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Anthony Towns <ajt@debian.org>:
Bug#315875; Package debootstrap. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
New Bug report received and forwarded. Copy sent to Anthony Towns <ajt@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: submit@bugs.debian.org
Subject: debootstrap --print-debs prints extra output, breaking other tools
Date: Sun, 26 Jun 2005 17:43:32 +0100
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                                       [cjwatson@debian.org]



Information forwarded to debian-bugs-dist@lists.debian.org, Anthony Towns <ajt@debian.org>:
Bug#315875; Package debootstrap. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Anthony Towns <ajt@debian.org>. (full text, mbox, link).


Message #10 received at 315875@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 315875@bugs.debian.org
Subject: Re: debootstrap --print-debs prints extra output, breaking other tools
Date: Mon, 27 Jun 2005 12:06:19 +0100
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                                       [cjwatson@debian.org]



Tags added: patch Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Tags added: fixed Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Tags added: pending Request was from Anthony Towns <aj@azure.humbug.org.au> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Anthony Towns <aj@azure.humbug.org.au>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Colin Watson <cjwatson@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #21 received at 315875-close@bugs.debian.org (full text, mbox, reply):

From: Anthony Towns <aj@azure.humbug.org.au>
To: 315875-close@bugs.debian.org
Subject: Bug#315875: fixed in debootstrap 0.3.2
Date: Sun, 23 Oct 2005 10:17:07 -0700
Source: debootstrap
Source-Version: 0.3.2

We believe that the bug you reported is fixed in the latest version of
debootstrap, which is due to be installed in the Debian FTP archive:

debootstrap-udeb_0.3.2_powerpc.udeb
  to pool/main/d/debootstrap/debootstrap-udeb_0.3.2_powerpc.udeb
debootstrap_0.3.2.dsc
  to pool/main/d/debootstrap/debootstrap_0.3.2.dsc
debootstrap_0.3.2.tar.gz
  to pool/main/d/debootstrap/debootstrap_0.3.2.tar.gz
debootstrap_0.3.2_all.deb
  to pool/main/d/debootstrap/debootstrap_0.3.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 315875@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anthony Towns <aj@azure.humbug.org.au> (supplier of updated debootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 23 Oct 2005 14:49:08 +1000
Source: debootstrap
Binary: debootstrap-udeb debootstrap
Architecture: source all powerpc
Version: 0.3.2
Distribution: unstable
Urgency: low
Maintainer: Anthony Towns <ajt@debian.org>
Changed-By: Anthony Towns <aj@azure.humbug.org.au>
Description: 
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 109176 152845 238301 239390 248578 280210 283234 289105 289635 308169 308361 313292 313353 314157 314160 314340 314373 314378 314547 314810 314858 314863 315225 315862 315875 315940 316884 317072 317447 318254 318281 319777 323362 323661 326831 328161 328369 329394 329468 334506 334521 334683
Changes: 
 debootstrap (0.3.2) unstable; urgency=low
 .
   * Revert fakechroot NMUs (0.3.1.1, 0.3.1.3, 0.3.1.7) due to incompatible
     license requirements (GPL) (Reopens: Bug#204652)
 .
   * Changes from 0.3.1.2 NMU, thanks to Joey Hess: (Closes: Bug#314810)
     + Fix incorrect use of "$@" in local. Closes: #314157, #314547
     + Fix fd redirection in download progress code. See #314373
     + Remove md5sums file from udeb. Closes: #314378
     + Fix debian-installer mode warning code. Closes: #314340
 .
   * Changes from 0.3.1.4 NMU, thanks to Joey Hess:
     + Wrap eval statement in exit_function in parens, working around
       bug #315444 in busybox sh. Closes: #314373
 .
   * Changes from 0.3.1.5 NMU, thanks to Anibal Monsalve Salazar:
     + Fixed "--variant=buildd option does not work" for pbuilder,
       closes: #314858. Patch by Matt Kraai <kraai@ftbfs.org>.
 .
   * Changes from 0.3.1.6 NMU, thanks to Joey Hess:
     + Patch from Colin to redirect status messages to stderr when running
       --print-debs. Closes: #315875
     + Restore logging to stderr in debian-installer mode. Closes: #314160
 .
   * Changes from 0.3.1.8 NMU, thanks to Petter Reinholdtsen:
     + [functions] Mount /sys if it exist and is supported by the kernel.
       Patch from Cajus Pollmeier, Colin Watson and Ubuntu. (Closes: #289105)
     + [debootstrap] Document --resolve-deps in usage info. (Closes: #328161)
     + [etch] Replace libsigc++-1.2-5c102 with libsigc++-1.2-5c2. (Closes: #334506)
     + [etch] Remove pppoe from base, and only install
       ipchains on m68k.  Patch from Sven Luther. (Closes: #239390)
     + [sarge] Remove duplicate entries for m68k and amd64.  Patch from
       Frans Pop. (Workaround for bug #319777)
     + [etch] Add support for ppc64.  The patch for 'sid' did no longer
       apply.  Patch from Andreas Jochens. (Closes: #313353)
     + [sarge,etch,sid] Set DEBCONF_NONINTERACTIVE_SEEN=true during build, to
       avoid questions during upgrade. (Closes: #238301)
     + Add script for breezy.  Patch from Colin Watson. (Closes: #315940)
 .
   * Changes from 0.3.1.9 NMU, thanks to Joey Hess:
     + Replace the etch script with a copy of the sid script, which pulls in
       gnupg, so the installed etch system has a usable apt. Closes: #334521
 .
   * Create /dev/ptmx in minimal devices tarball. (Closes: Bug#317072)
 .
   * Don't create empty available files, since old dpkg and new kernels can't
     deal with them. (Closes: Bug#308169, Bug#329468)
 .
   * Bump Standards-Version. Bump debhelper compatability level to 4.
   * Cleanup debian/rules, thanks to Joey Hess. (Closes: Bug#314863)
 .
   * Emit error message if no pkgdetails is available. (Closes: Bug#326831)
 .
   * Turn on --resolve-deps by default. Add --no-resolve-deps as an option.
     Combined with the previous changes to make the etch script dynamically
     determine base, this should resolve all the "can't install <foo>"
     bugs. (Closes: Bug#280210, Bug#308361, Bug#318281, Bug#323362,
     Bug#318254, Bug#313292, Bug#334683, Bug#248578, Bug#289635)
 .
   * md5sum doesn't exist when coreutils is unpacked but not configured;
     cp it across so it's available for --second-stage. (Closes: Bug#329394)
 .
   * Catch failures in "dpkg --status-fd" (Closes: Bug#317447, Bug#323661)
 .
   * Make "without" work right for duplicates (Closes: Bug#316884,
     Bug#319777)
 .
   * Simplify and correct file descriptor handling and debootstrap.log
     behaviour.
 .
   * Delete $TARGET with --print-debs and --make-tarball. (Closes: Bug#328369)
 .
   * Add a --make-tarball option. (Closes: Bug#152845)
 .
   * Create a default sources.list for apt. (Closes: Bug#283234, Bug#315225)
 .
   * Update manpage to talk about woody instead of sarge. (Closes: Bug#315862)
 .
   * Use partial/ directory when downloading. (Closes: Bug#109176)
Files: 
 876447d008c1c6643a5fc955c5a51c07 557 admin - debootstrap_0.3.2.dsc
 44d30b6c00ffb7fe19543bc1705be129 199174 admin - debootstrap_0.3.2.tar.gz
 f354db7c5fbf86601a5e1b78af74a97e 42636 admin extra debootstrap_0.3.2_all.deb
 b93e027cfe4bbd8224ba45aefb6311a0 34996 debian-installer required debootstrap-udeb_0.3.2_powerpc.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----

iD8DBQFDW74COxe8dCpOPqoRAkadAJ9CC3Q38nOGJLwVAbBU2dqAqTKctwCgne3n
zE8Fx1NGVJxGTOdWAmXjhSE=
=YEym
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jun 2007 14:04:46 GMT) (full text, mbox, link).


Bug unarchived. Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Sun, 10 Apr 2011 08:46:44 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 09 May 2011 07:47:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 12:08:03 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.