2016-12-18 11:08 GMT+01:00 Petter Reinholdtsen <p...@hungry.com>:
> [...]
>   Unable to use PackageKit: org.freedesktop.DBus.Error.ServiceUnknown:
>     The name org.freedesktop.PackageKit was not provided by any .service
>     files
>
> I tracked this down to the fact that the
> /usr/share/dbus-1/services/org.freedesktop.PackageKit.service is missing
> when installing packagekit.  It is included in gnome-software, which I
> did not have installed in my KDE desktop.
>
> Should the file perhaps be moved to the packagekit package, or is it
> only working with Gnome?

This is because you are using the PackageKit session interface, which
needs a session service (like GNOME Software) to provide the frontend
bits. Ideally, KDE Discover would support that too, but it doesn't.
See https://www.freedesktop.org/software/PackageKit/pk-faq.html#session-system
for more information on this.
Apper does provide the session interface, but Apper isn't developed
anymore, it only receives some maintenance fixes - I *might*
reintroduce it for Stretch though, because I got a lot of requests to
please add the package back. The problem is that last time I tested
it, Apper didn't work so well, so when I introduce it to unstable
again and see that it isn't actually fit for release inclusion, I
would drop it in time for the Stretch release again.
So, tl;dr: Don't count on Apper being available in Stretch.

Another solution is of course to use the PackageKit system interface
via the GIR and provide the necessary GUI dialogs by yourself.

In any case, this is not a bug in PK but expected behavior which can
only be solved by something in the user session providing the PK
session interface.

Cheers,
    Matthias

-- 
I welcome VSRE emails. See http://vsre.info/

Reply via email to