PackageKit/Python: pk.install_packages() not able to install a package

Matthias Klumpp matthias at tenstral.net
Tue Sep 16 12:29:26 UTC 2014


Hi!

2014-09-15 21:48 GMT+02:00 Till Kamppeter <till.kamppeter at gmail.com>:
> Hi,
>
> I am using the Python bindings of PackageKit in system-config-printer for
> the automatic driver download )as DEB packages in Ubuntu).
> [...]
PackageKit developer here ;-) If you say "Python-bindings" you mean
the python3-packagekit package? It looks like you are using the GIR,
which is the correct way to talk to PackageKit from Python.
(Also, using PkTask instead of PkClient is recommended)
The "printdriver" part means that the origin of this package is from
the "printdriver" repository.
Are you using Ubuntus apt-daemon, or PackageKits aptcc backend?
Can you install the package using pkcon? (you can also supply
package-ids to the tool)
Cheers,
    Matthias

-- 
Debian Developer | Freedesktop-Developer
I welcome VSRE emails. See http://vsre.info/



More information about the ubuntu-devel mailing list