The first problem I encountered was that there is no public repository to update RHEL machines i.e you have to pay for it. I have used CentOS and know that CentOS offers public repositories and they work with RHEL as well. After struggling for some time, I discovered that I was accessing older version of repos through the latest yum, that was not working. I had to use an older version of yum with RHEL 3, since old repos do not support xml based updating.
Now I have a fully updated system. Here is how I did it.
1) Since I needed a older version of YUM I had to looked all over the web for the needed version, once I found it I saved it so you could find it more easily.
2) Download yum-2.0.8-1.noarch.rpm (for RHEL 3) from
3) Install it using
rpm –i yum-2.0.8-1.noarch.rpm
4) Configure your yum.conf to look like this:
name=CentOS-$releasever – Base
name=Red Hat Linux $releasever – Updates
6) Import the key like this:
rpm –import RPM-GPG-KEY-CentOS-3
7) Run “yum update”.
You can change the 3 in the conf files to what ever version of RHEL you are using.