Tuesday, 16 September 2014

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

On 09/16/2014 04:14 PM, Matthias Klumpp wrote:
>>
>>> (Also, using PkTask instead of PkClient is recommended)
>>

After Googling and having seen

https://gitorious.org/appstream/software-center/commit/7d50219075436e2f74cd5a7380e8776eb9d87b03?diffmode=sidebyside

I simply tried replacing

pk = PackageKitGlib.Client()

by

pk = PackageKitGlib.Task()

in install-printerdriver.py

The script kept working as before, including giving the same error when
installing the package.

Till


--
ubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel