Package: blueman Version: 2.0.5-1+b1 Severity: normal In debian/postinst the blueman package calls `invoke-rc.d dbus reload` but does not ignore the return value, so the maintscript will fail in chroot environments where dbus cannot be reloaded:
$ sudo debootstrap sid /tmp/scratch/debian $ sudo chroot /tmp/scratch/debian apt install --no-install-recommends blueman [...] Setting up blueman (2.0.5-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 "reload" failed. dpkg: error processing package blueman (--configure): subprocess installed post-installation script returned error exit status 1 [...] One possible fix is to append `|| true` to the invoke-rc.d command line to ignore any error, but nowadays the whole explicit reload is not needed since dpkg already has triggers to automatically reload dbus when files under /etc/dbus-1/system.d/ get installed, so the call itself to invoke-rc.d can be dropped. Once that is removed the whole debian/postinst script simply becomes boilerplate, so the best course of action seem to just delete it altogether and let debhelper to create one from scratch. -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages blueman depends on: ii bluez 5.47-1 ii bluez-obexd 5.47-1 ii dbus 1.11.20-1 ii dconf-gsettings-backend [gsettings-backend] 0.26.0-2+b1 ii gir1.2-appindicator3-0.1 0.4.92-5 ii gir1.2-gdkpixbuf-2.0 2.36.11-1 ii gir1.2-glib-2.0 1.54.1-1 ii gir1.2-gtk-3.0 3.22.24-1 ii gir1.2-notify-0.7 0.7.7-2 ii gir1.2-pango-1.0 1.40.12-1 ii gnome-icon-theme 3.12.0-2 ii gnome-shell [notification-daemon] 3.22.3-3 ii init-system-helpers 1.49 ii libbluetooth3 5.47-1 ii libc6 2.24-17 ii libglib2.0-0 2.54.1-1 ii libpulse-mainloop-glib0 11.1-1 ii libpython3.5 3.5.4-4 ii librsvg2-common 2.40.18-1 ii python3 3.5.3-3 ii python3-cairo 1.10.0+dfsg-5+b3 ii python3-dbus 1.2.4-1+b2 ii python3-gi 3.24.1-3 ii python3-gi-cairo 3.24.1-3 Versions of packages blueman recommends: ii policykit-1 0.105-18 ii pulseaudio-module-bluetooth 11.1-1 blueman suggests no packages.