Tuesday, December 02, 2003

redhat rpm upgrade

Upgrading redhat 6.2 to 9.2 I hit the problem of rpm 3->4
upgrade. I got failed dependancies on trying to upgrade,
some said version was too high, some said too low.
There was a database upgrade from db1 to db3, which
seems to have caused the problem with the upgrade.

After performing the rpm upgrade the upgrade function on the CD
should word to upgrade from 6.2 -> 7/8/9

The following instructions should work for the upgrade:

##get the files...
ncftp ftp://updates.redhat.com/6.2/en/os/i386/
get rpm*
get db3-*
get popt-1.6.2-6x.i386.rpm

#exit ftp

##rebuild the database, to ensure sanity before we start
rpm --rebuilddb
rpm -Uvh db3-*
rpm -Uvh popt*
rpm -Uvh rpm*
##check reported version - should read 4.0.2
rpm --version
##now rebuild the database - this is where it changes from db1->db3
rpm --rebuilddb

Files and versions which I picked up:

-rw-r--r-- 1 simonmcc ntms 1073382 Nov 4 15:23 db3-3.1.17-4.6x.i386.rpm
-rw-r--r-- 1 simonmcc ntms 5368423 Nov 4 15:23 db3-devel-3.1.17-4.6x.i386.rpm
-rw-r--r-- 1 simonmcc ntms 749569 Nov 4 15:23 db3-utils-3.1.17-4.6x.i386.rpm
-rw-r--r-- 1 simonmcc ntms 55222 Nov 4 15:23 popt-1.6.2-6x.i386.rpm
-rw-r--r-- 1 simonmcc ntms 1283762 Nov 4 15:23 rpm-4.0.2-6x.i386.rpm
-rw-r--r-- 1 simonmcc ntms 63876 Nov 4 15:23 rpm-build-4.0.2-6x.i386.rpm
-rw-r--r-- 1 simonmcc ntms 313646 Nov 4 15:23 rpm-devel-4.0.2-6x.i386.rpm
-rw-r--r-- 1 simonmcc ntms 32303 Nov 4 15:23 rpm-python-4.0.2-6x.i386.rpm





No comments: