On Wed, 04 Jul 2001 09:40:12 -0700
rickf <[EMAIL PROTECTED]> wrote:

> Joel Hammer wrote:
> > 
> > I just tried to rpm a package but it said I couldn't do it, only major
> > number <= 3 are allowed.
> > So, I went and got a new version of rpm, 4.03 or somesuch, but when I tried
> > to rpm the new rpm package, it gave me the same error message.
> > This sounds like catch 22.
> > So, how does one upgrade his rpm software?
> > Any insight appreciated.
> > Joel
> 
> Joel, this is documented somewhere in the SxS, I believe, but
> basically you need to upgrade to either 3.0.5 or 3.0.6 first.
> The db format used changed (db1 to db3, IIRC) and the rpm libs
> need to be updated along the way.  3.0.5 & 3.0.6 can read both
> 3.x & 4.x RPM's.
> 

Also... once you update the rpm tool to 3.0.6... kpackage will no
longer work correctly. What you have to do, to fix it, is make a 
link named /usr/lib/rpm-3.0.3 that points to the new rpm package.
Usually it's in /usr/lib/rpm-3.0.6.

Once you get that done. Kpackage will begin to work again, but it
will not allow you to process version 4 rpm's... yeah, it's stupid, but
it's hardwired in the Kpackage code. If you're decent at working with
C... the source code can be altered to allow for the higher version
level then compiled.

It works. :')


-- 

*****************************************************************************
*                   Registered Linux User Number 185956                     *
*****************************************************************************


_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to