安装python相关rpm包
rpm -ivh python-libs-2.7.5-89.el7.x86_64.rpm
rpm -ivh python-2.7.5-89.el7.x86_64.rpm
rpm -ivh python-iniparse-0.4-9.el7.noarch.rpm
rpm -ivh python-pycurl-7.19.0-19.el7.x86_64.rpm
rpm -ivh rpm-python-4.11.3-45.el7.x86_64.rpm
升级rpm相关包
rpm -Uvh rpm-4.11.3-45.el7.x86_64.rpm rpm-build-libs-4.11.3-45.el7.x86_64.rpm rpm-libs-4.11.3-45.el7.x86_64.rpm rpm-build-4.11.3-45.el7.x86_64.rpm rpm-sign-4.11.3-45.el7.x86_64.rpm --nodeps
安装yum相关rpm包
rpm -ivh python-urlgrabber-3.10-10.el7.noarch.rpm
rpm -ivh yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
rpm -ivh yum-3.4.3-168.el7.centos.noarch.rpm yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm