redhat yum install – GPG密钥检索失败

前端之家收集整理的这篇文章主要介绍了redhat yum install – GPG密钥检索失败前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图在 Linux机器上安装etckeeper.详情如下.

密钥检索时安装失败.

我想知道为什么密钥文件被称为file:/// etc / pki /.是不是应该通过http检索关键文件

[me@linux ~]$sudo yum install etckeeper
[sudo] password for me: 
Loaded plugins: refresh-packagekit,security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package etckeeper.noarch 0:1.4-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================
Package                  Arch                  Version                    Repository             Size
=====================================================================================================
Installing:
 etckeeper                noarch                1.4-1.el6                  epel                   38 k

Transaction Summary
=====================================================================================================
 Install       1 Package(s)

Total size: 38 k
Installed size: 61 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature,key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6


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

解决方法

尝试手动导入
# rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
原文链接:https://www.f2er.com/linux/401352.html

猜你在找的Linux相关文章