Package: debootstrap
Version: 1.0.81
Severity: wishlist
Control: affects -1 fakechroot dbus debirf
On a very minimal/lean system running debian sid, i tried to do the
following as a non-privileged user:
fakechroot fakeroot /usr/sbin/debootstrap --variant=fakechroot --include=dbus sid ~/target
the result was a failed install:
[...]
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See /home/dkg/target/debootstrap/debootstrap.log for details (possibly the package dbus is at fault)
1 dkg@demo:~$
looking in ~/target/debootstrap/debootstrap.log shows the following
error message repeated five times:
1 dkg@demo:~$ tail -n 6 ~/target/debootstrap/debootstrap.log
Setting up dbus (1.10.8-1) ...
dbus-uuidgen: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory
dpkg: error processing package dbus (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
dbus
0 dkg@demo:~$
weirdly, dbus-uuidgen works fine under fakeroot and fakechroot, which is
what makes me suspect debootstrap being the cause of the problem:
0 dkg@demo:~$ fakechroot fakeroot chroot ~/target dbus-uuidgen
c53d40afb5e8a5a5788f7c4e573267bf
0 dkg@demo:~$
This also has an effect on debirf, since debirf depends on debootstrap's
fakechroot functionality to build an iso as a non-privileged user.
This is reproducible from an amd64 host system with the following packages:
0 dkg@demo:~$ dpkg -l fakeroot fakechroot debootstrap libdbus-1-3
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
+++-==============-============-============-=================================
ii debootstrap 1.0.81 all Bootstrap a basic Debian system
ii fakechroot 2.18-1 all gives a fake chroot environment -
ii fakeroot 1.20.2-1 amd64 tool for simulating superuser pri
dpkg-query: no packages found matching libdbus-1-3
1 dkg@demo:~$
--dkg
Attachment:
signature.asc
Description: PGP signature