微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

yum 安装服务出现报错收集

yum 安装出现报错收集

问题:

[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



解决

您必须首先安装epel-release包才能安装GPG-Keys:

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐