Ask Your Question
3

GPG key retrieval failed

asked 2013-01-15 21:31:45 -0600

Demsking gravatar image

updated 2013-01-16 04:28:21 -0600

Jomoos gravatar image

I just installed Fedora 18 and I could not install some package. I receive this message:

GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-x86_64
edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
2

answered 2013-01-17 00:28:57 -0600

davidva gravatar image

Hi try it:

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm'

Or

su

sudo rpm --import http://sourceforge.net/projects/postinstaller/files/data/RPM-GPG-KEY-rpmfusion-free-fedora-18

sudo rpm --import http://sourceforge.net/projects/postinstaller/files/data/RPM-GPG-KEY-rpmfusion-nonfree-fedora-18
edit flag offensive delete link more

Comments

Thanks !!!

Euloiix gravatar imageEuloiix ( 2013-03-08 12:39:22 -0600 )edit

Thanks. su -c 'yum localinstall... - worked great

robinsidney gravatar imagerobinsidney ( 2013-03-08 15:25:25 -0600 )edit
2

answered 2013-01-16 05:03:55 -0600

dobs gravatar image
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-18-primary
edit flag offensive delete link more
1

answered 2013-01-17 15:39:27 -0600

max gravatar image

indeed, I hit the same problem, and for me solution was:

yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm

Many thansk for help !

edit flag offensive delete link more
0

answered 2015-07-22 03:51:53 -0600

sudo yum distribution-synchronization --nogpgcheck

All GPG key import commands didn't work and /etc/pki/rpm-gpg/ wont show the desired keys. I tried all kinds of cleaning up yum (clean all, check, autoclean) and found that 'distribution-synchronization' wanted to remove something, but couldn't, due to same error (missing GPG key file). So I added nogpgcheck and was able to remove some stuff. Then I ran 'yum update', and I was able to import the keys.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2013-01-15 21:31:45 -0600

Seen: 22,496 times

Last updated: Jan 17 '13