Okay, a lot of people have been asking this so I guess this will help.

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.
-- 
Dr. Sharukh K. R. Pavri
Mumbai, India.

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to