yum 安装服务出现报错收集

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum 安装服务出现报错收集相关的知识,希望对你有一定的参考价值。

                                  yum 安装出现报错收集

问题:

[[email protected] ~]$ 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 


本文出自 “Linux修仙之路” 博客,请务必保留此出处http://8999a.blog.51cto.com/11385098/1963643

以上是关于yum 安装服务出现报错收集的主要内容,如果未能解决你的问题,请参考以下文章

CentOS6使用yum安装服务报错

虚拟机中用RH搭建apache服务器,在安装httpd过程出现错误,求解

编译安装nginx出现报错,以及启动nginx服务时80端口被占用怎么解决?

阿里云ECS服务器 Centos7.2 使用 yum 安装 ansible 报错

安装Python3后,centos使用yum报错

centos 8 yum 默认安装nginx php 重启nginx服务,报错 403 404