rpm -aq|grep yum|xargs rpm -e --nodeps
rpm -qa |grep redhat-release |xargs rpm -e --nodeps
wget
wget
wget
rpm -ivh
rpm -ivh
rpm -ivh yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
rpm -ivh yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm --nodeps
rpm -ivh yum-3.2.22-26.el5.centos.noarch.rpm
cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.save
wget
mv CentOS-Base.repo.5 CentOS-Base.repo
或
wget
yum makecache
cd ~
阅读(1921) | 评论(0) | 转发(0) |