RPM-GPG-KEY error while doing 'yum update' / 'yum install' -
while trying update fedora release got following error:
gpg key retrieval failed: [errno 14] curl#37 - "couldn't open file /etc/pki/rpm-gpg/rpm-gpg-key-fedora-x86_64"
therefore update not finish. not able install using yum due same error.
i'm running of fedora 21 (recently updated fedora 19 using fedup).
i looked @ differens of files fedora-updates.repo
, fedora-updates.repo.rpmnew
in directory /etc/yum.repos.d/
i notiched $releaseserver
varialble missing in fedora-updates.repo
so changed lines from
gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora-$basearch
to
gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-fedora-$releasever-$basearch
after update without problems.
Comments
Post a Comment