Home > General > Crossgrade from Redhat Enterprise Linux 4 (RHEL4) to Centos 4

Crossgrade from Redhat Enterprise Linux 4 (RHEL4) to Centos 4

Redhat Enterprise Linux 4 sucks. At least the x86_64 version. php gives gd and mysql errors. up2date is as miserable as getting kicked in the groin for an hour straight.

Grab these:

[root@wintermute upgrade]# ls -l
total 824
-r--r--r--  1 root root  20091 Jul 26 20:33 centos-release-4-3.2.x86_64.rpm
-r--r--r--  1 root root   3592 Jul 26 20:33 centos-yumconf-4-4.5.noarch.rpm
-r--r--r--  1 root root  81569 Jul 26 20:33 python-elementtree-1.2.6-4.x86_64.rpm
-r--r--r--  1 root root  38989 Jul 26 20:34 python-sqlite-1.1.6-1.x86_64.rpm
-r--r--r--  1 root root  93760 Jul 26 20:34 python-urlgrabber-2.9.6-2.noarch.rpm
-r--r--r--  1 root root 189951 Jul 26 20:34 sqlite-3.2.2-1.x86_64.rpm
-r--r--r--  1 root root 392645 Jul 26 20:34 yum-2.4.2-2.centos4.noarch.rpm
[root@wintermute upgrade]#

Run these:

rpm –import RPM-GPG-KEY-centos4
rpm -e -–nodeps redhat-release
rpm -Uvh *.rpm

then

yum upgrade

Works beautifully. yum is the far superior tool. Courtesy to Fixlinux for the instructions

Categories: General Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.