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

去 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那个包也就行了

误卸载python2.4导致yum不能用后的修复,布布扣,bubuko.com

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

上一篇:C++ Primer Plus学习笔记之String类


下一篇:python科学计算学习二:matplotlib绘图,图标注释(2)