Hi, this looks like bug #742070 me@localhost:~$ LD_LIBRARY_PATH="/home/me/mychroot/lib/x86_64-linux-gnu" fakechroot fakeroot -s .fakeroot.state debootstrap --variant=fakechroot --include=dbus sid mychroot [...] I: Base system installed successfully. me@localhost:~$ echo $? 0
I get the same positive result with the patch of #742070 applied (or with the file $HOME/.fakechroot/debootstrap.env below) me@localhost:~$ dpkg -l dbus libdbus-1-3 fakeroot fakechroot debootstrap Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==================================-======================-======================-========================================================================= un dbus <none> <none> (no description available) ii debootstrap 1.0.81 all Bootstrap a basic Debian system ii fakechroot 2.18-1 all gives a fake chroot environment - utilities ii fakeroot 1.20.2-1 amd64 tool for simulating superuser privileges dpkg-query: no packages found matching libdbus-1-3 Thank you for your work to improve debootstrap, debirf and fakechroot ! Regards, JH Chatenet PS : me@localhost:~$ cat $HOME/.fakechroot/debootstrap.env # Additional environment setting for debootstrap # Add /usr/sbin and /sbin to PATH if chroot command can't be found if ! command -v chroot >/dev/null; then PATH="${PATH:-/usr/bin:/bin}:/usr/sbin:/sbin" export PATH fi # Set a list of command substitutions needed by debootstrap fakechroot_debootstrap_env_cmd_subst="/bin/mount=/bin/true /sbin/devfs=/bin/true /sbin/insserv=/bin/true /sbin/ldconfig=/bin/true /usr/bin/ischroot=/bin/true /usr/bin/ldd=${fakechroot_bindir:-/usr/bin}/ldd.fakechroot /usr/bin/mkfifo=/bin/true /var/lib/dpkg/info/freebsd-utils.postinst=/bin/true /var/lib/dpkg/info/kbdcontrol.postinst=/bin/true /usr/sbin/chroot=/usr/sbin/chroot.fakechroot " FAKECHROOT_CMD_SUBST="${FAKECHROOT_CMD_SUBST:+$FAKECHROOT_CMD_SUBST:}`echo \"$fakechroot_debootstrap_env_cmd_subst\" | tr '\012' ':'`" export FAKECHROOT_CMD_SUBST # Set the default list of directories excluded from being chrooted FAKECHROOT_EXCLUDE_PATH="${FAKECHROOT_EXCLUDE_PATH:-/dev:/proc:/sys}" export FAKECHROOT_EXCLUDE_PATH # Change path for unix sockets because we don't want to exceed 108 bytes FAKECHROOT_AF_UNIX_PATH=/tmp export FAKECHROOT_AF_UNIX_PATH