-
CentOS yum源被用于RHEL6 86_64系统
资源介绍
安装yum,必须按照顺序
.删除redhat原有的
[root@nagios ~]# yum rpm -aq|grep yum|xargs rpm -e --nodeps
2,使用包中提供的4个rpm包
[root@nagios ~]# rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm
warning: python-iniparse-0.3.1-2.1.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
package python-iniparse-0.3.1-2.1.el6.noarch is already installed
[root@nagios ~]# rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
warning: yum-metadata-parser-1.1.2-16.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
file /usr/lib64/python2.6/site-packages/_sqlitecache.so from install of yum-metadata-parser-1.1.2-16.el6.x86_64 conflicts with file from package yum-metadata-parser-1.1.2-14.1.el6.x86_64
file /usr/lib64/python2.6/site-packages/sqlitecachec.pyc from install of yum-metadata-parser-1.1.2-16.el6.x86_64 conflicts with file from package yum-metadata-parser-1.1.2-14.1.el6.x86_64
[root@nagios ~]# rpm -ivh yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm
warning: yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:yum-plugin-fastestmirro########################################### [100%]
注意:最后两个包必需同时安装,否则会相互依赖。
[root@nagios ~]# rpm -ivh yum-3.2.29-40.el6.centos.noarch.rpm
warning: yum-3.2.29-40.el6.centos.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
file /etc/bash_completion.d/yum.bash from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.27-14.el6.noarch
file /etc/yum.conf from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.27-14.el6.noarch
file /usr/lib/python2.6/site-packages/yum/__init__.py from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.27-14.el6.noarch
……其它输出略……