Bug 1059896

Summary: fedup has trouble importing gpg keys
Product: [Fedora] Fedora Reporter: Andy Lutomirski <luto>
Component: fedupAssignee: Will Woods <wwoods>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: luto, tflink, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-28 18:38:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Abbreviated fedup.log none

Description Andy Lutomirski 2014-01-30 21:08:24 UTC
$ sudo fedup --network 20
setting up repos...
getting boot images...
.treeinfo.signed                                         | 2.0 kB     00:00     
setting up update...
finding updates 100% [=========================================================]
verify local files 100% [======================================================]
warning: /var/tmp/system-upgrade/rpmfusion-nonfree/packages/rpmfusion-nonfree-re
lease-20-1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID b5f29883: NOKEY
Importing GPG key 0xB5F29883:
 Userid     : "RPM Fusion nonfree repository for Fedora (20) <rpmfusion-buildsys
@lists.rpmfusion.org>"
 Fingerprint: a84d cf58 46cb 10b6 5c47 6c35 63c0 de8c b5f2 9883
 Package    : rpmfusion-nonfree-release-19-1.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-20

Downloading failed: Didn't install any keys

This makes no sense.  The file is there:

$ ls /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-20 -
l
lrwxrwxrwx. 1 root root 47 Aug 23 11:09 /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-n
onfree-fedora-20 -> RPM-GPG-KEY-rpmfusion-nonfree-fedora-20-primary

Importing it works:

$ sudo rpmkeys --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-
nonfree-fedora-20

At which point running fedup again works.

Comment 1 Will Woods 2014-01-30 22:56:31 UTC
Can you attach /var/log/fedup.log? The log should tell you why the key wasn't imported.

Comment 2 Bill Stock 2014-02-28 13:55:48 UTC
Created attachment 869076 [details]
Abbreviated fedup.log

Had same experience, same solution.  Attached is the log file with irrelevant lines deleted.  I saved the full file if needed.  Basic problem is "REJECTED: key cd30c86b is not trusted by rpm"
At this point I'm out of my league.  Hope this helps.

Comment 3 Will Woods 2014-02-28 18:38:01 UTC
In short: you never trusted rpmfusion's F19 key, so we can't be sure that we can trust the F20 key.

See https://bugzilla.redhat.com/show_bug.cgi?id=1066044#c2 for details and a workaround.

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