PackageKit/Python: pk.install_packages() not able to install a package
Till Kamppeter
till.kamppeter at gmail.com
Tue Sep 16 14:41:00 UTC 2014
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
More information about the ubuntu-devel
mailing list