Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success

I recently migrated my linux box from bare metal hardware to a VMware virtual machine. At the same time, I upgraded from Debian squeeze to Debian Wheezy (testing).

After the dust had settled, one nagging problem keep recurring. Every time I did an aptitude update or aptitude install, after everything successfully ran, I would get this error message:

Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success

The cause of this proved quite difficult to track down. Eventually a Gentoo forum post led me to the solution. It seems that somewhere along the line, dbus-daemon-launch-helper has ended up with the wrong permissions. Change its permissions to be world executable.

chmod o+x /usr/lib/dbus-1.0/dbus-daemon-launch-helper

Join the Conversation

6 Comments

  1. I got the same error message, also after a system migration. For me /usr/lib/dbus-1.0/dbus-daemon-launch-helper was in the wrong group. Seems the root cause was a mismatch between uids/gids on my system and on the live system I was using for the transfer. There are a bunch of other files with the same problem but the dbus helper causes the most problems.

    To prevent the problem (at least my version of it) you can use the –numeric-owner option if migrating with tar (or –numeric-ids with rsync).

Leave a comment

Your email address will not be published. Required fields are marked *