Problems installing package signature from Python script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
packagekit (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
system-config-printer (Ubuntu) |
Fix Released
|
High
|
Till Kamppeter |
Bug Description
I use PackageKit to auto-download printer driver packages using the script /usr/share/
----------
till@till-
gpg: requesting key 8AA65D56 from hkp server subkeys.pgp.net
gpg: key 8AA65D56: "Seiko Epson Corporation (Epson Inkjet Printer Driver) <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
till@till-
----------
So it exists and is valid.
But if I let package kit install it via its Python bindings I get
----------
till@till-
Python 2.7.3 (default, Jan 26 2013, 15:27:43)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import GLib, PackageKitGlib
>>> pk = PackageKitGlib.
>>> def progress(progress, type, user_data):
... return
...
>>> res = pk.install_
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return info.invoke(*args, **kwargs)
gi._glib.GError: Failed to download and install the key 8AA65D56 from hkp://keyserver
>>>
----------
What is going wrong here?
Related branches
description: | updated |
Changed in packagekit (Ubuntu): | |
status: | New → Invalid |
Changed in system-config-printer (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in aptdaemon (Ubuntu): | |
status: | New → Invalid |
I am not sure if this is properly implemented in PackageKit's Apt backend. Can you please download & install PackageKit >= 0.8.x from Debian Experimental (or use my PK snapshot PPA: https:/ /launchpad. net/~ximion/ +archive/ packagekit ) and test it with this, more recent version? (The one in Ubuntu is outdated) packagekit/ packagekitd --verbose" - If the command is present, you use PackageKit. Alternatively you can also test if the "packagekit" package is installed.)
Also, do you use a proxy? Is network properly set up? Because maybe PK just has problems downloading the data.
Also, do you use PackageKit and not the Aptdaemon compat layer? (Simply test it by running "sudo /usr/lib/
Cheers,
Matthias