[packagekit] packagekitd: cannot start the command

Richard Hughes hughsient at gmail.com
Thu Nov 29 09:39:08 PST 2007

On Thu, 2007-11-29 at 06:42 -0500, Ken VanDine wrote:
> I think you might need to reboot after installing PackageKit.  I have
> seen errors of this nature in that scenario.  Don't recall if it is the
> exact error.  Basically, dbus, ConsoleKit, and PolicyKit all have to be
> happy with each other at login time.  

No. What the message is saying is the user that you are trying to run
packagekitd with a user that has not got sufficient privileges to own
the org.freedesktop.PackageKit name on the system DBUS. This can happen
for one of a couple of reasons:
* You are running packagekitd as a user (it has to be started by root,
see below)
* You have not installed the org.freedesktop.PackageKit.conf file in the
_system_ dbus directory. This means it being installed
to /etc/dbus-1/system.d rather than $PREFIX/etc/dbus-1/system.d - you
can copy the file manually if (like me) you run all your development
code in a prefix.

The other things to note are:

* You probably should be running packagekitd with the convenience
helper ./run-pk.sh - that sets up anything you need and does some basic
* packagekitd is usually run by dbus, so you have to make sure you have
a very new dbus to make sure that the auto-launch stuff works. If you
are just testing then it's fine to use "sudo ./run-pk.sh" - although
you'll have to appreciate it's not what users will do.

What distro are you using? It's often easier to try this stuff out with
distro packages, because there's so much that could go wrong with all
this new stuff. The wrong permissions on the dbus launch helper will
make the packagekitd launch fail for instance, so there's much that
could be wrong.

Hope that helps,


More information about the PackageKit mailing list