After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709676 - Installing a package silently fails if the GPG key for the yum repo is not installed
Installing a package silently fails if the GPG key for the yum repo is not in...
Status: RESOLVED NOTGNOME
Product: gnome-software
Classification: Applications
Component: General
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
: 710339 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-10-08 19:17 UTC by Ryan Lerch
Modified: 2013-10-18 09:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ryan Lerch 2013-10-08 19:17:08 UTC
Trying to install an application through gnome-software fails if the GPG key for the yum repo is not installed. 

No feedback is given to the user that the installation has failed, other than the "loading..." label in the top right changes back to the blue install button

to test this, I deleted the keys using the yum-plugin-keys plugin, and tried to install "leafpad". gnome-software reporting the following error to the terminal:


(gnome-software:16760): Gs-WARNING **: failed to complete gs_plugin_app_install: could not do key question as no klass support


First reported against Fedora. -- https://bugzilla.redhat.com/show_bug.cgi?id=1016566
Comment 1 Adam Williamson 2013-10-17 01:26:05 UTC
*** Bug 710339 has been marked as a duplicate of this bug. ***
Comment 2 Richard Hughes 2013-10-17 13:50:56 UTC
Well, now it's not silent, and I think I've fixed the non-interactive install mode now. Can you try with 3.10.1 and see if it still happens? Thanks.
Comment 3 Adam Williamson 2013-10-17 18:34:55 UTC
I'm pretty sure I *was* testing with 3.10.1. But I'll double check.

...

Er, yeah. From my dupe:

"This is after a clean install of an F20 live image built from current repos
with GNOME 3.10.1 added. Will attach full log."
Comment 4 Matthias Clasen 2013-10-17 22:55:04 UTC
Still happens with 3.10.1:

(gnome-software:31702): GsPlugin-WARNING **: no mapping for sig-check

(gnome-software:31702): Gs-WARNING **: failed to complete gs_plugin_app_install: could not do key question as no klass support

and I don't see any relevant-looking commits in gnome-software or PackageKit
Comment 5 Richard Hughes 2013-10-18 09:25:09 UTC
Okay, I can reproduce here after removing all my imported keys. I'll fix this now.
Comment 6 Richard Hughes 2013-10-18 09:37:07 UTC
Was a PackageKit thinko:

commit bc076b3192a6e67f781969459e122fa9576b997b
Author: Richard Hughes <richard@hughsie.com>
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
    were failing.
    
    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.
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=709676

I'll do a new PK build for Fedora and link to https://bugzilla.redhat.com/show_bug.cgi?id=1016566 in the update.