2013-02-05 20:40:18 |
Till Kamppeter |
description |
I use PackageKit to auto-download printer driver packages using the script /usr/share/system-config-printer/install-printerdriver.py (part of the system-config-printer-gnome package). For Epson's drivers the signature with ID 8AA65D56 is needed and the "gpg" command line tool has no problem to load it:
----------
till@till-lenovo:/usr/lib/cups/backend$ gpg --recv-keys 8AA65D56gpg: requesting key 8AA65D56 from hkp server subkeys.pgp.net
gpg: key 8AA65D56: "Seiko Epson Corporation (Epson Inkjet Printer Driver) <epson-linux-inkjet@avasys.jp>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
till@till-lenovo:/usr/lib/cups/backend$
----------
So it exists and is valid.
But if I let package kit install it via its Python bindings I get
----------
till@till-raring:/usr/lib/cups/backend$ python
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.Client()
>>> def progress(progress, type, user_data):
... return
...
>>> res = pk.install_signature(PackageKitGlib.SigTypeEnum.GPG, '8AA65D56', '', None, progress, None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 113, in function
return info.invoke(*args, **kwargs)
gi._glib.GError: Failed to download and install the key 8AA65D56 from hkp://keyserver.ubuntu.com:80:
>>>
----------
What is going wrong here? |
I use PackageKit to auto-download printer driver packages using the script /usr/share/system-config-printer/install-printerdriver.py (part of the system-config-printer-gnome package). For Epson's drivers the signature with ID 8AA65D56 is needed and the "gpg" command line tool has no problem to load it:
----------
till@till-lenovo:/usr/lib/cups/backend$ gpg --recv-keys 8AA65D56
gpg: requesting key 8AA65D56 from hkp server subkeys.pgp.net
gpg: key 8AA65D56: "Seiko Epson Corporation (Epson Inkjet Printer Driver) <epson-linux-inkjet@avasys.jp>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
till@till-lenovo:/usr/lib/cups/backend$
----------
So it exists and is valid.
But if I let package kit install it via its Python bindings I get
----------
till@till-raring:/usr/lib/cups/backend$ python
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.Client()
>>> def progress(progress, type, user_data):
... return
...
>>> res = pk.install_signature(PackageKitGlib.SigTypeEnum.GPG, '8AA65D56', '', None, progress, None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 113, in function
return info.invoke(*args, **kwargs)
gi._glib.GError: Failed to download and install the key 8AA65D56 from hkp://keyserver.ubuntu.com:80:
>>>
----------
What is going wrong here? |
|