[packagekit] how to wake up packagekit after idle time
Matthias Klumpp
matthias at tenstral.net
Thu Jul 26 18:02:03 PDT 2012
I can ensure that packaging is okay ;-) But 0.8.1 isn't packaged yet,
so maybe you installed it manually and forgot to change the prefix or
something else is missing? (but even in that case the dbus-service
file from the "packagekit" package should do the job)
Please not that Ubuntu uses a weird compat layer for PK, which does
not work with PK 0.8.x series, so you have to be sure that you use
PackageKit and not the compat layer.
Just take a look at the settings and you'll be fine :-)
2012/7/26 tomw <tomw at ubilix.com>:
> On Do, 2012-07-26 at 20:29 +0200, Matthias Klumpp wrote:
>> Hi!
>> You can use pure DBus calls to PackageKit, it is just not very comfortable...
>> The PackageKit daemon gets automatically activated (via
>> DBus-activation) if you issue a call on the system-bus and terminates
>> when there's no job to do.
>> I'd suggest you using libpackagekit-glib2, it is installed anyway and
>> much easier to use that doing calls on the system bus, but you can of
>> course to that if you want. (See the docs[1])
>> The code above uses the session bus and needs support in the session,
>> so this won't work I guess.
>> Regards,
>> Matthias
>
> Great, I seem to know now what was missing to wake-up the packagekitd -
> it's the DBus-activation. For some reason org.freedesktop.PackageKit is
> not in the /usr/share/dbus-1/system-services directory which prevents
> the daemon to be restarted when the name is called on the bus. Perhaps
> it's a packaging issue either with Ubuntu 12.04 or with packagekit
> (0.8.1).
>
>
> --
> tomw <tomw at ubilix.com>
>
More information about the PackageKit
mailing list