GPG key retrieval failed

When you run yum update under Centos you might get following error:

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897

GPG key retrieval failed: [Errno 4] IOError: <urlopen error (-2, ‘Name or service not known’)>

To fix, you need to run "yum update yum" first, it will download the correct GPG key; then run "yum update -y" and it will be working fine.

Share

- has written 14 posts.


Leave a Reply

You must be logged in to post a comment.