Tuesday, 16 September 2014

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

On 09/16/2014 05:36 PM, Till Kamppeter wrote:
>> 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
> the signature.

So I have removed the "try: ... except: ..." around the signature
installation and so I could see that the call for the signature
installation needs the package ID to be supplied. So I moved the call to
after the resolving step in the script and nmow the script pops up the
password dialog and starts signature installation. Then it simply hangs.

Can you tell me what steps do I have to do in which order if I have the
three parameters

- package name
- package repo
- package signature

as I have for the call of my script and want to have the package
installed, with the signature, and with the repo in the local repo list
for later automatic updates.


> Good news: "pkcon install openprinting-gutenprint" popped up a window
> for the password and then installed the package.

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