[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[Fwd: Re: [LIH] rpm woes]

I posted this to LI sometime back but since it has poped up on Linux
Delhi again I am forwarding it.


-------- Original Message --------
Subject: Re: [LIH] rpm woes
Date: Tue, 09 Jan 2001 11:57:45 +0530
From: Mithun Bhattacharya <mithun.b@xxxxxxxxxxxxx>
Organization: Learning Universe [http://www.egurucool.com]
To: linux-india-help@xxxxxxxxxxxxxxxxxxxxx

Why would installing RPM be so tough ? - answer is they changed the RPM
database. You not only need to get a RPM which can read the old database
and yet be able to handle 4.0 format but it should also migrate the
database from the old format because the software available can read
from the old format but definitely not going to write to it.

No need to compile RPM - just download the following rpm (got this from
rpmfind - didnt do any black magic!!)

rpm -Uvh

Please note you can upgrade using any rpm which has th 6x in it - you
cant use anything which has 7x (that is for RedHat 7.0 or above).

Mind you it will fail some dependencies which you have to download
separately like db3 maybe bzip etc etc.. Just search for them on
rpmfind.net and download approrpiately. Just remember don't touch
anything which has a 7x till you have upgraded.

WARNING: After you download and upgrade rpm (upgrade rpm separately !!)
rpm --rebuilddb 
this will migrate the database from RPM 3.x format to RPM 4.x format.
Not doing this will zap your RPM database and you definitely don't want
to do that do you unless you never ever want to install any RPM ever
after that.


shyam wrote:
> no u don't understand. My problem is that I have RH6 on my system. But I
> don't have the money to get Rh7 but a few of the Rh7's rpms have been given
> to me by my friend. but when i
> try to install it rpm says this can support only <3 . So, I need the souce
> code of rpm so that i can compile and install in this one's place.
> Any help ?
> At 12:34 PM 1/5/2001 +0530, you wrote:
> >Shanker Balan rearranged electrons thusly:
> >
> > > You dont need the tarball to compile RPM. Get the RPM source rpm down
> > and use
> > > 'rpm --rebuild' on it.
> >
> >He wants the "latest version" - which perhaps means something more recent than
> >4.0-4?  Even then it'd be on the deadrat ftp site, in the updates/ directory
> >
> >         --suresh
> >
> >--
> >Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
> >EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
> >
> >----------------------------------------------
> >Find out more about this and other Linux India
> >mailing lists at http://lists.linux-india.org/
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> ----------------------------------------------
> Find out more about this and other Linux India
> mailing lists at http://lists.linux-india.org/