加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

yum 安装服务出现报错收集

发布时间:2020-12-15 16:21:54 所属栏目:安全 来源:网络整理
导读: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.n

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读