dbus update fails in LTSP chroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dbus
Latest dbus update (1.2.16-2ubuntu4.1) in Lucid fails to install in LTSP chroot environment.
I ran the update with the following command:
LTSP_HANDLE_
The error message was:
Setting up dbus (1.2.16-2ubuntu4.1) ...
The system user `messagebus' already exists. Exiting.
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/
dpkg: error processing dbus (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of dbus-x11:
dbus-x11 depends on dbus; however:
Package dbus is not configured yet.
dpkg: error processing dbus-x11 (--configure):
dependency problems - leaving unconfigured
Setting up libfuse2 (2.8.1-
No apport report written because the error message indicates its a followup error from a previous failure.
I'm guessing this is because of the chroot and the fact that there's no dbus running IN the chroot, but there is one running OUTSIDE the chroot (the host's dbus).
I tried stopping the outside dbus but it did not help.
As a workaround I removed just these two dbus packages from inside the chroot, then reinstalled them:
LTSP_HANDLE_
LTSP_HANDLE_
Obviously this is not something that is recommended, but I saw no other way.
Also seen in Maverick. Work-around does the trick. Just don't try it on the server if you're logged in to a graphical session (it dies on the purge)!