[Pkg-utopia-maintainers] Bug#796165: Upgrade from << 1.9.18~ to 1.9.20-1 fails if /run/dbus doesn't exist (e.g. in a chroot)
Iain Lane
laney at debian.org
Wed Aug 19 21:26:37 UTC 2015
Package: dbus
Version: 1.9.20-1ubuntu1
Severity: normal
Hiya,
Someone just reported the above to me. Install in a chroot with
policy-rc.d set to deny the start of dbus (exit 101, most chroots will
probably have this already so it breaks upgrading of dbus in some class
of installations). Install dbus from unstable, then upgrade to
experimental's verison. It fails with the attached log, of which the key
excerpt is
Setting up dbus (1.9.20-1) ...
Installing new version of config file /etc/dbus-1/session.conf ...
Installing new version of config file /etc/dbus-1/system.conf ...
touch: cannot touch '/run/dbus/dont-reload': No such file or directory
dpkg: error processing package dbus (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-19) ...
Errors were encountered while processing:
dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't know if the solution is to mkdir, [ -S /run/dbus/system-bus-socket ],
or something else, so I'm not contributing a patch.
Cheers,
--
Iain Lane [ iain at orangesquash.org.uk ]
Debian Developer [ laney at debian.org ]
Ubuntu Developer [ laney at ubuntu.com ]
-------------- next part --------------
(sid-amd64)root at nightingale:/# apt-get install dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libapt-inst1.5
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libcap-ng0 libdbus-1-3 libexpat1
Suggested packages:
dbus-x11
The following NEW packages will be installed:
dbus libcap-ng0 libdbus-1-3 libexpat1
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 559 kB of archives.
After this operation, 1807 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.debian.org/debian/ sid/main libcap-ng0 amd64 0.7.6-1 [13.5 kB]
Get:2 http://ftp.debian.org/debian/ sid/main libdbus-1-3 amd64 1.8.20-1 [170 kB]
Get:3 http://ftp.debian.org/debian/ sid/main libexpat1 amd64 2.1.0-7 [80.0 kB]
Get:4 http://ftp.debian.org/debian/ sid/main dbus amd64 1.8.20-1 [295 kB]
Fetched 559 kB in 0s (794 kB/s)
Selecting previously unselected package libcap-ng0:amd64.
(Reading database ... 13097 files and directories currently installed.)
Preparing to unpack .../libcap-ng0_0.7.6-1_amd64.deb ...
Unpacking libcap-ng0:amd64 (0.7.6-1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../libdbus-1-3_1.8.20-1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.8.20-1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package dbus.
Preparing to unpack .../dbus_1.8.20-1_amd64.deb ...
Unpacking dbus (1.8.20-1) ...
Processing triggers for systemd (224-1) ...
Setting up libcap-ng0:amd64 (0.7.6-1) ...
Setting up libdbus-1-3:amd64 (1.8.20-1) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up dbus (1.8.20-1) ...
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for libc-bin (2.19-19) ...
Processing triggers for systemd (224-1) ...
(sid-amd64)root at nightingale:/# apt-get install dbus/experimental
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '1.9.20-1' (Debian:experimental [amd64]) for 'dbus'
Selected version '1.9.20-1' (Debian:experimental [amd64]) for 'libdbus-1-3' because of 'dbus'
The following package was automatically installed and is no longer required:
libapt-inst1.5
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libdbus-1-3
Suggested packages:
dbus-user-session dbus-x11
The following packages will be upgraded:
dbus libdbus-1-3
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 389 kB of archives.
After this operation, 383 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://ftp.debian.org/debian/ experimental/main dbus amd64 1.9.20-1 [202 kB]
Get:2 http://ftp.debian.org/debian/ experimental/main libdbus-1-3 amd64 1.9.20-1 [186 kB]
Fetched 389 kB in 0s (836 kB/s)
(Reading database ... 13158 files and directories currently installed.)
Preparing to unpack .../dbus_1.9.20-1_amd64.deb ...
Unpacking dbus (1.9.20-1) over (1.8.20-1) ...
Preparing to unpack .../libdbus-1-3_1.9.20-1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.9.20-1) over (1.8.20-1) ...
Processing triggers for systemd (224-1) ...
Setting up libdbus-1-3:amd64 (1.9.20-1) ...
Setting up dbus (1.9.20-1) ...
Installing new version of config file /etc/dbus-1/session.conf ...
Installing new version of config file /etc/dbus-1/system.conf ...
touch: cannot touch '/run/dbus/dont-reload': No such file or directory
dpkg: error processing package dbus (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-19) ...
Errors were encountered while processing:
dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)
More information about the Pkg-utopia-maintainers
mailing list