On Sun, Apr 05, 2009 at 12:22:21AM +0200, Matteo Costa wrote:
This is the error
"GPG key retrieval failed: [Errno 4] IOError: <urlopen error [Errno 2] No such
file or directory: '/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386'>"
That is a part of a fedora-release package. Is it installed?
How can I fix it?
Get the package from your installation media or with a help of
yumdownloader and reinstall it using rpm. You many need to use
'--force' if that package is already installed but incomplete due to
some errors.
BTW - 'repoquery -f /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386' should
tell what you are looking for. Besides there is '--nogpgcheck'
option to yum so if you managed to "loose" fedora-release then
yum --nogpgcheck install fedora-release
should do the trick.
Michal