Upgradation of RPM from V3.x to v4.0x is possible if you follow the following steps.

1. Backup your rpm database directory -  /var/lib/rpm This is very
important! I remember somebody trashing his complete RPM database and
not being able to recover it.

2. I cant help you with the URL in this. But I remember finding plenty
of links in Google. You basically have to find out all the RPM 4.x
binary upgrade RPMs which are themselves in RPM 3.x format. These RPMS
should be for rpm-4.0.x-rh6.2,db3-xxx,popt-xxx and one or two of them
which are all bunched together.

3. There are circular dependencies, so you have to upgrade all of them
at once using rpm -Uvh *.rpm (assuming that they are the only rpm in
your present directory)

4. Very important! BEfore using RPM 4.x, you have to rebuild the RPM
database by doing "rpm --rebuilddb" . This is where that guy had
forgotten and trashed his system.

The important things to remember are 1) you need more than one package
to upgrade RPM, 2) You need to backup 3) You need to backup! 4(You
need to backup 5) You need to rebuild your database before using RPM 
 
- Sandip


On Mon, May 13, 2002 at 06:18:37PM +0500, [EMAIL PROTECTED] spoke out thus:
> I have RH6.1 installed on a production server running Kernel 2.2.12-20.
> 
> I have RPM version 3.0.3-2 installed and wish to upgrade. I downloaded  
>rpm-4.0.3-7x.i386.rpm from the archives of RH6.2 updates from the Redhat site.
> 
> I did a "rpm -UvhF rpm-4.0.3-7x.i386.rpm"  and it says "query of 
>rpm-4.0.3-7x.i386.rpm failed". I tried a "rpm -ivh rpm-4.0.3-7x.i386.rpm" and it says 
>"rpm-4.0.3-7x.i386.rpm cannot be installed".
> 
> I remember Raj Mathur having a bad experience on the upgradation. Subsequently some 
>body had said RedHat's RPM binary does the necessary upgrade.
> 
> Whats wrong? Any hints.
> 
> Anand Shankar
> 
>           ================================================
> To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
>header
> Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>           =================================================

-- 
Sandip Bhattacharya
Mindframe Software
Work: sandip @ mindsw.com, http://www.mindsw.com
Play: sandipb @ bigfoot.com, http://www.sandipb.net
-----------------------------------------------

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to