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 710339 - Cannot install a package if it requires import of a GPG key
Cannot install a package if it requires import of a GPG key
Status: RESOLVED DUPLICATE of bug 709676
Product: gnome-software
Classification: Applications
Component: General
3.10.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-10-16 23:40 UTC by Adam Williamson
Modified: 2013-10-17 01:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
console output with -v when reproducing the bug (29.54 KB, text/plain)
2013-10-16 23:41 UTC, Adam Williamson
Details

Description Adam Williamson 2013-10-16 23:40:22 UTC
Typically, out of the box, Fedora systems do not have the package signing GPG key installed (for $TIRESOME_WELL_KNOWN_REASONS). The first time you install a package, any package manager should cope with offering to import the key. Here's yum, doing it:

Downloading packages:
warning: /var/cache/yum/x86_64/20/fedora/packages/mesa-libGLU-9.0.0-3.fc20.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 246110c1: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-20-x86_64
Importing GPG key 0x246110C1:
 Userid     : "Fedora (20) <fedora@fedoraproject.org>"
 Fingerprint: c7c9 a9c8 9153 f201 83ce 7cba 2eb1 61fa 2461 10c1
 Package    : fedora-release-20-0.7.noarch (@fedora/$releasever)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-20-x86_64
Is this ok [y/N]: n

Here's gnome-software, not doing it:

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

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 1 Adam Williamson 2013-10-16 23:41:34 UTC
Created attachment 257466 [details]
console output with -v when reproducing the bug
Comment 2 Adam Williamson 2013-10-16 23:43:12 UTC
Confirmed that after importing the key with rpm --import, GNOME Software 3.10.1 can successfully install a package.
Comment 3 Adam Williamson 2013-10-17 01:26:05 UTC
D'oh, forgot this was already filed.

*** This bug has been marked as a duplicate of bug 709676 ***