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

Bug#230258: libc6: requires awk in pre-install, may break debootstrap



Package: libc6
Version: 2.3.2.ds1-10
Severity: important

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

Trying to bootstrap a new unstable buildd root:

Selecting previously deselected package libc6.
(Reading database ... 220 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.2.ds1-11_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: line 1: awk: command not found
dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-11_i386.deb (--install):
 subprocess pre-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.2.ds1-11_i386.deb
W: Failure trying to run: chroot /daten/chroot/unstable dpkg --force-depends --install /var/cache/apt/archives/libc6_2.3.2.ds1-11_i386.deb
debootstrap --arch i386 unstable /daten/chroot/unstable http://ftp2.de.debian.org/debian /usr/lib/buildd/debootstrap-chroot -- failed: 256

That doesn't happen for testing at the moment, but it WILL happen as soon as
the package whose updated dependencies cause this change moves there.


Proposed resolution:

Check if /usr/bin/awk exists before using it. If not, assume that
this is a bootstrap, and therefore no services are running.


In case you do want to dig further, here's the list of packages I am
trying to install, from my debootstrap-chroot script:

	required="base-files base-passwd bash bsdutils coreutils debconf debianutils diff dpkg dselect fileutils findutils grep gzip hostname libcap1 libc6 libdb1-compat libdb2 libdb3 libdb4.0 libgdbmg1 libncurses5 libpam-modules libpam-runtime libpam0g libperl5.8 libreadline4 libstdc++2.10-glibc2.2 login mawk mount ncurses-base ncurses-bin passwd perl-base sed slang1 tar util-linux sysv-rc libstdc++5 libgcc1 libacl1 libattr1 libblkid1 libcomerr2 libss2 slang1a-utf8 zlib1g debconf-english"
    base="apt cpio ssmtp sudo"

- -- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux kiste 2.6.0-1-k7-smp #2 SMP Sun Jan 11 17:10:11 EST 2004 i686
Locale: LANG=en_US.utf8, LC_CTYPE=de_DE.utf8

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAGSPW8+hUANcKr/kRAiYIAJ9uF+k1DsaexvqL/y+EONlGKMiR9wCgpe57
W3nVAQr2FmZT+x5CYsNQ+8E=
=rt8E
-----END PGP SIGNATURE-----



Reply to: