On 09/16/2014 04:45 PM, Matthias Klumpp wrote:
> 2014-09-16 16:41 GMT+02:00 Till Kamppeter <firstname.lastname@example.org>:
>> On 09/16/2014 04:14 PM, Matthias Klumpp wrote:
>>>>> (Also, using PkTask instead of PkClient is recommended)
>> After Googling and having seen
>> I simply tried replacing
>> pk = PackageKitGlib.Client()
>> pk = PackageKitGlib.Task()
>> in install-printerdriver.py
>> The script kept working as before, including giving the same error when
>> installing the package.
> That's odd. Maybe reporting a bug is a good option now, since I don't
> see an obvious mistake you made here.
> Can you run
> sudo /usr/lib/packagekit/packagekid --verbose
I had to install the package "packagekit" for that, which also installs
"packagekit-backend-aptcc" and uninstalls "python3-aptdaemon.pkcompat".
so it seems to switch over from apt-daemon to PackageKit mode. This
would probably be a too high impact to fix the problem.
Advantage of PackageKit mode is that pkcon is fully functional. Things
like "pkcon backend-details" and "pkcon repo-list" work now.
> in a second terminal and then execute your script and attach the
> output of the packagekit daemon somewhere?
I tried, but my "install-printerdriver" script already failed installing
Good news: "pkcon install openprinting-gutenprint" popped up a window
for the password and then installed the package.
> Btw, let's see if posting with my d.o address gets the message pass
> through to the list ;-)
I got it at least.
ubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel