Skip to content

Instantly share code, notes, and snippets.

@swpu-lee
Created August 5, 2013 07:29
Show Gist options
  • Save swpu-lee/6154062 to your computer and use it in GitHub Desktop.
Save swpu-lee/6154062 to your computer and use it in GitHub Desktop.
解决步骤:
检查版本
[root@snow pkg]# rpm -qa | grep yum
yum-plugin-fastestmirror-1.1.30-14.el6.noarch
yum-3.2.29-40.el6.centos.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-utils-1.1.30-14.el6.noarch
yum-plugin-security-1.1.30-14.el6.noarch
2)下载版本
wget http://mirrors.163.com/centos/6.4/os/x86_64/Packages/yum-3.2.29-40.el6.centos.noarch.rpm
3)重新安装
rpm -ivh --replacepkgs yum-3.2.29-40.el6.centos.noarch.rpm
## Thank DaoDao(http://www.foolpig.com/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment