Red Hat Bugzilla – Bug 1016566
Installing a package silently fails if the GPG key for the yum repo is not installed
Last modified: 2013-10-23 00:37:10 EDT
Description of problem:
Can't install anything using gnome-software
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. fresh installed F20 Beta TC1
2. start gnome-software and search for yumex
3. press the install button
An non moving spinner is shown for a while and then the install button is shown again.
yumex installs or some kind of error message is shown.
This is releated to import of the Fedora GPG key, if I install something using yum at the command line and ask yes to import the Fedora GPG key, the gnome-software will be able to install software.
Confirmed that this is still an issue on a recent trunk build of gnome-software.
On the command line, gnome-software returns the message:
(gnome-software:16760): Gs-WARNING **: failed to complete gs_plugin_app_install: could not do key question as no klass support
Thanks for your bugreport Tim!
I have confirmed this behaviour with a recent upstream build, and have filed a bug upstream in GNOME to get this issue looked at.
This seems like a major problem for Beta, nominating as a Beta freeze exception. We don't require package installation to work for Beta, so it's probably not a blocker.
Discussed at 2013-10-16 freeze exception review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-10-16/f20beta-blocker-review-4.2013-10-16-16.02.log.txt . Accepted as a freeze exception issue - obviously, package install should work after install if possible...
*** Bug 1020069 has been marked as a duplicate of this bug. ***
Was a PackageKit thinko:
Author: Richard Hughes <firstname.lastname@example.org>
Date: Fri Oct 18 10:25:12 2013 +0100
lib: Do not have duplicate 'interactive' properties on the super and base classes
If the client called pk_client_set_interactive() on a PkTask instance this was
not being used in the derived class and the EULA and GPG auto-accept prompts
There's no need at all to have the same property in both objects, the property
means the same in both. Deprecate the getters and setters in the superclass.
Will do a new update now.
PackageKit-0.8.12-1.fc20 has been submitted as an update for Fedora 20.
Fix doesn't seem to work for me :( I updated a clean TC5 VM with PackageKit 0.8.12 and gnome-software still cannot install packages, I still see "(gnome-software:2356): Gs-WARNING **: failed to complete gs_plugin_app_install: could not do key question as no klass support" . Persists after a reboot.
<adamw> brown paper bag time?
<hughsie> so i only fixed gnome-software in master for the gpg fix
no, the PK update is fine
i'll need to tag in a gnome-software update too
Package PackageKit-0.8.12-1.fc20, gnome-software-3.10.2-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing PackageKit-0.8.12-1.fc20 gnome-software-3.10.2-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
PackageKit-0.8.12-1.fc20, gnome-software-3.10.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
Tested by removing the keys unsing yum-plugin-keys and installing something using gnome-software, it installed as expected.
Is it suppossed to install gpg silently with out telling/asking the user ?
from a usabillity point of view it is nice, but not from a security point of view :)
For me it prompted for the user's password, as I'd expect.
I got a polkit password dialog, but did not catch if the dialog said any thing about a gpg key, I just thought it was releated to installing the package.