RedHat sets Yum source Linux: RedHat AS 6.2. 1. Delete the original yum: rpm-aq | grep yum | xargs rpm-e-nodeps 2. Install the new yum rpm-ivh http://mirrors.163.com/centos/6/ OS /x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm. Note: python-iniparse-0.3.1-2.1.el6.noarch.rpm this version may not necessarily exist on this address as the package is updated, you can enter the http://mirrors.163.com/centos/6/ OS /x86_64/Packages (CentOS6), this page has a list of specific packages, find the python-iniparse package, modify it to the correct address. The following steps are similar to this step. Rpm-ivh http://mirrors.163.com/centos/6/ OS /x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm rpm-ivh http://mirrors.163.com/centos/6/ OS /x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm rpm-ivhhttp: // rpm Note: This is Two rpm packages cd/etc/yum. repos. d/"5" wget http://mirrors.163.com/.help/CentOS6-Base-163.repo "6" sed-I "s/\ $ releasever/6/" CentOS6-Base-163.repo "7" yum makecache