On Fri, Dec 25, 2015 at 11:16:30PM +0100, Petter Reinholdtsen wrote:
> 
> I've tried to track down a python library to talk to packagekit, but
> failed.  Are you aware of such library, or a good recipe on how to to
> talk to packagekit from python without a library?
> 
> I came across
> <URL: https://www.piware.de/2008/07/calling-packagekit-from-python-programs/ 
> >,
> and <URL: https://github.com/alexef/packagekit-python-console > but have
> not been able to get them working.

You'd use the PackageKit GLib library from the gi repository, like
in the second link. This requires gir1.2-packagekitglib to be
installed.

That example then works, with both packagekit and 
gir1.2-packagekitglib installed.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.

Reply via email to