[Pkg-utopia-maintainers] Bug#840504: dbus: installation from chroot/systemd-nspawn fails

linus.luessing at c0d3.blue linus.luessing at c0d3.blue
Wed Oct 12 09:59:10 UTC 2016


Package: dbus
Version: 1.8.20-0+deb8u1
Severity: normal

Dear Maintainer,

I'm currently trying to install dbus in a freshly debootstrapped
directory with the following command:

$ systemd-nspawn --bind /usr/bin/qemu-arm-static -D "./" /bin/bash -c "export DEBIAN_FRONTEND=noninteractive; apt-get install -y task-desktop"

Unfortunately this fails with the following message:

~~~~~
[...]
Setting up libsmbclient:amd64 (2:4.4.5+dfsg-3+b1) ...
Setting up network-manager (1.4.2-1+b1) ...
invoke-rc.d: could not determine current runlevel
Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
invoke-rc.d: initscript dbus, action "force-reload" failed.
invoke-rc.d: could not determine current runlevel
Processing triggers for libc-bin (2.24-3) ...
[...]
~~~~~

Moreover, dpkg is left in a broken state:
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem."

Which is only fixable with this command in a fully booted
system as otherwise the same dbus reload issue happens
again.

Would it be possible to just skip the reload part if
it wasn't possible to determine the current runlevel?

Regards, Linus


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dbus depends on:
ii  adduser      3.113+nmu3
ii  libaudit1    1:2.4-1+b1
ii  libc6        2.19-18+deb8u6
ii  libcap-ng0   0.7.4-2
ii  libdbus-1-3  1.8.20-0+deb8u1
ii  libexpat1    2.1.0-6+deb8u3
ii  libselinux1  2.3-2
ii  libsystemd0  215-17+deb8u5
ii  lsb-base     4.1+Debian13+nmu1

dbus recommends no packages.

Versions of packages dbus suggests:
pn  dbus-x11  <none>

Versions of packages dbus is related to:
pn  dbus-x11      <none>
ii  systemd       215-17+deb8u5
ii  systemd-sysv  215-17+deb8u5

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list