Package: debootstrap Version: 0.3.1.4 Severity: normal
Hello, While trying to create a pbuilder environnement for etch, I faced the following error: You might want to run `apt-get -f install' to correct these. The following packages have unmet dependencies: libnewt0.51: Depends: libslang2 (>= 2.0.1-1) but it is not installed E: Unmet dependencies. Try using -f. As I can hardly run 'apt-get -f install' during the "pbuilder create" step, I tried to fix the etch script in /usr/lib/debootstrap/scripts/. By simply adding 'libslang2' to the list of 'required' packages, I could get it to work correctly. Attached patch explains the correction. Sincerly, Thomas -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11.11 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages debootstrap depends on: ii binutils 2.15-6 The GNU assembler, linker and bina ii wget 1.9.1-12 retrieves files from the web -- no debconf information
--- etch.orig 2005-07-14 13:10:16.000000000 +0200 +++ etch 2005-07-14 13:10:40.000000000 +0200 @@ -11,7 +11,7 @@ LIBC6=libc6 if [ "$ARCH" = "alpha" -o "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi - required="base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g login makedev mawk mount ncurses-base ncurses-bin passwd perl-base procps sed slang1a-utf8 initscripts sysvinit sysv-rc tar util-linux libgcc1 gcc-3.3-base libstdc++5 zlib1g $LIBC6" + required="base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g login makedev mawk mount ncurses-base ncurses-bin passwd perl-base procps sed libslang2 slang1a-utf8 initscripts sysvinit sysv-rc tar util-linux libgcc1 gcc-3.3-base libstdc++5 zlib1g $LIBC6" if doing_variant -; then if [ "$ARCH" = "alpha" -o "$ARCH" = "m68k" ]; then