Changes
→CentOS 5 i386
cd tmp.$$
rpm --replacepkgs -Uvh http://mirror.centos.org/centos/5.10/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/readline-5.1-3.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/expat-1.95.8-11.el5_8.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/m2crypto-0.16-9.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/libxml2-2.6.26-2.1.21.el5_9.3.i386.rpm
rpm --force --replacepkgs -Uvh http://mirror.centos.org/centos/5.10/os/i386/CentOS/nss-3.1416.31-182.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/nspr-4.910.56-21.el5el5_10.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/popt-1.10.2.3-34.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/logrotate-3.7.4-14.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/rpm-4.4.2.3-34.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/rpm-libs-4.4.2.3-34.el5.i386.rpm
rpm --replacepkgs -Uvh http://mirror.centos.org/centos/5.10/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
rpm --replacepkgs -Uvh http://mirror.centos.org/centos/5.10/os/i386/CentOS/python-2.4.3-56.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/python-iniparse-0.2.3-6.el5.noarch.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/python-libs-2.4.3-56.el5.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/libxml2-python-2.6.26-2.1.21.el5_9.3.i386.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/rpm-python-4.4.2.3-34.el5.i386.rpm
rpm --replacepkgs -Uvh http://mirror.centos.org/centos/5.10/os/i386/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm \ http://mirror.centos.org/centos/5.10/os/i386/CentOS/yum-metadata-parser-1.1.2-4.el5.i386.rpm
rpm -Uhv *.rpm
</pre>
* Updated 2016-02-13 by bglopez // Commands *required* the `--replacepkgs` for all and `--force` for nss, etc. Otherwise it would fail with dependency issues at the YUM RPMs
* Hint: If it doesn't work later on, look for updated packages in http://mirror.centos.org/centos/5/os/i386/CentOS/
* libxml2-python-2.6.26-2.1.21.el5_9.3.i386.rpm is optional and yum worked without it
* yum-utils may also be added if needed
== CentOS 5 x86_64 ==