码迷,mamicode.com
首页 > 其他好文 > 详细

yum 安装服务出现报错收集

时间:2017-09-08 18:15:49      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:yum报错   yum   linux

                                  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 


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

yum 安装服务出现报错收集

标签:yum报错   yum   linux

原文地址:http://8999a.blog.51cto.com/11385098/1963643

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!