Ask Your Question

GPG key retrieval failed

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

Demsking gravatar image

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

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 -0500

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 -0500 )edit

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

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

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

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 -0500

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 -0500

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



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

Seen: 22,413 times

Last updated: Jan 17 '13