GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

解决方案是:

rpm –import /etc/pki/rpm-gpg/RPM*

如果/etc/pki/rmp-gpg目录下没有RPM-GPG-KEY-EPEL-6

请用下面命令下载指定目录下

wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 https://fedoraproject.org/static/0608B895.txt

再次运行

rpm –import /etc/pki/rpm-gpg/RPM*即可解决

猜你喜欢

转载自blog.csdn.net/weixin_42651205/article/details/81532553
gpg