Navin rearranged electrons thusly:
hi guys, i have RH 6.2 and the rpm on it does not install any other rpm's with major nos. > 3 so i d'loaded rpm 4 from RH's site, but the thing is now i cannot install this new rpm also.
Okay this is what you need to do: (I am presuming you have rh 6.2)
download the following:
ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/db3-3.1.14-0.3.6x.i386.rpm ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/db3-devel-3.1.14-0.3.6x.i386.rpm ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/db3-utils-3.1.14-0.3.6x.i386.rpm ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/rpm-build-4.0-6x.i386.rpm ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/rpm-devel-4.0-6x.i386.rpm ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/rpm-4.0-6x.i386.rpm ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/rpm-python-4.0-6x.i386.rpm ftp://rpm.redhat.com/pub/rpm/dist/rpm-4.0.x/popt-1.6-6x.i386.rpm
put all of them in a single dir.. & run #rpm -Uvh *.rpm Now run the command #rpm --rebuilddb
this rpm --rebuilddb command must be run immediately after you have upgreded the rpm's. If you run *any* other command before that you will end up with an unusable rpm database. You have been warned, that aside, I have succesfully upgraded my version of rpm to 4.0.2. Also you might want to backup /bin/rpm and /var/lib/rpm/*.
hth,
regards,
Sharukh.