Tuesday 16 September 2014

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

Hi!

2014-09-15 21:48 GMT+02:00 Till Kamppeter <till.kamppeter@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/

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel