Ask Your Question

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

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

davidva gravatar image

Hi try it:

su -c 'yum localinstall --nogpgcheck'



sudo rpm --import

sudo rpm --import
edit flag offensive delete link more


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

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

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

Many thansk for help !

edit flag offensive delete link more

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

Question Tools



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

Seen: 22,628 times

Last updated: Jan 17 '13