分类: LINUX
2014-12-24 20:14:32
Total size: 42 M
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from
GPG key retrieval failed: [Errno 14] Could not open/read
解决办法:
1. 先安装如下工具包:
rpm -Uhv
[root@localhost yum.repos.d]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-6
一般来说安装完成后即可,安装完这个就可以了。
如果还是不行,查看系统的
编辑yum源文件:替换 RPM-GPG-KEY-CentOS-5 替换为对应的 key 文件名:RPM-GPG-KEY-CentOS-6 (要全部替换)
yum.repos.d]# vi CentOS-Base-sohu.repo
[base]
name=CentOS-$releasever - Base - sohu.com
mirrorlist=
baseurl=
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6