当前位置: > Linux故障 >

误卸载python2.4导致yum不能用后的修复 - cmsd

时间:2014-03-07 21:11来源:linux.it.net.cn 作者:IT网
去 http://mirrors.ustc.edu.cn/centos/或者镜像下载如下包,版本不一定非常一致

python-2.4.3-56.el5.x86_64.rpm
python-devel-2.4.3-56.el5.i386.rpm
python-devel-2.4.3-56.el5.x86_64.rpm
python-iniparse-0.2.3-6.el5.noarch.rpm
python-libs-2.4.3-56.el5.x86_64.rpm
python-pycurl-7.15.5.1-8.el5.x86_64.rpm
python-setuptools-0.6c5-2.el5.noarch.rpm
python-urlgrabber-3.1.0-6.el5.noarch.rpm
yum-3.2.22-40.el5.centos.noarch.rpm
yum-metadata-parser-1.1.2-4.el5.x86_64.rpm

然后rpm -Uvh *.rpm --nodeps 然后就ok了,我猜其实直接rpm -Uvh python那个包也就行了
(责任编辑:IT)
------分隔线----------------------------