How to update the yum repository on Centos 5 server

How to update the yum repository on Centos 5 server 1) yum install yum-fastestmirror 2) yum install yum-priorities 3) uname -i If the output is i386 then cd /usr/local/src wget  http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 4) Install key rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt 5) Install rpmforge rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm 6) yum check-update It will take some time to update teh RPM […]

See More

yum hangs on installing a specific package.

Hello, When try to install any packages or update the yum list get hang and nothing happens for this you can try the following this to fix it root@server01[~]#rm -f /var/lib/rpm/__db.* root@server01[~]#rpm –rebuilddb   Thank you.

See More