Upgrading CentOS 4.5 to CentOS 5.2

Tagged:  

On my i386 test server upgrade from CentOS 4.5 to CentOS 5.2 took approximately 60 minutes with all downloads, etc... And the only commands I issued are (taken from http://wiki.centos.org/HowTos/MigrationGuide/ServerCD_4.4_to_5 )

yum update # this is to upgrade to CentOS 4.7
reboot
mkdir /tmp/Upgrades
cd /tmp/Upgrades
LINK=http://vault.centos.org/5.0/os/i386/CentOS/
wget $LINK/centos-release-5-0.0.el5.centos.2.i386.rpm
wget $LINK/centos-release-notes-5.0.0-2.i386.rpm
rpm -Uvh centos-release*
vi list #  see attached file
for i in `cat list` ; do wget $LINK/$i;  done
rpm -Uvh *.rpm --nodeps --force
rm -f /var/lib/rpm/__*
rpm --rebuilddb
yum clean all
rpm -e autofs kudzu pcmcia-cs  hal  --nodeps
rpm -ivh $LINK/kernel-PAE-2.6.18-8.el5.i686.rpm --nodeps
rpm -qa | grep kernel | grep -v 2.6.18 | grep -v kernel-utils | xargs rpm -e
yum -y  upgrade
reboot
yum clean all

And this is relatively complicated upgrade procedure, as between minor versions upgrade is usually - 2-3 commands. Now compare this with FreeBSD (not mentioning other unfriendly operation systems :) )

Sure, this is clean server without any custom applications, so be very careful and don't forget to make backsups ;)

AttachmentSize
list.1000 bytes

freebsd-update -r 7.1 fetch && freebsd-update -r 7.1 install

What is so complicated ? :-)

From which version is this update?

I remember update from 4.x to 5.x was a nightmare :))

Your rating: None