Do not use the rpm v4 rpms from rawhide, they are completey
messed up.  Even when they appear to work they do not and
this can lead to database corruption.  Basically what you need
to do is stop over at rpm.org, and follow the first step.  That should
get you working rpm v4 sources.  Another alternative is to get rpm
v3.05 test release which as I understand it can read v4 rpms.  This
is your best choice as it should fulfill your needs.  You'll need the
following rpms:

ftp://ftp.rpm.org/pub/rpm/test/db3-3.1.14-0.2.6x.i386.rpm
ftp://ftp.rpm.org/pub/rpm/test/db3-devel-3.1.14-0.2.6x.i386.rpm
ftp://ftp.rpm.org/pub/rpm/test/db3-utils-3.1.14-0.2.6x.i386.rpm

ftp://ftp.rpm.org/pub/rpm/test/popt-1.6-0.45.i386.rpm

ftp://ftp.rpm.org/pub/rpm/test/rpm-3.0.5-0.5.i386.rpm
ftp://ftp.rpm.org/pub/rpm/test/rpm-build-3.0.5-0.5.i386.rpm
ftp://ftp.rpm.org/pub/rpm/test/rpm-devel-3.0.5-0.5.i386.rpm
ftp://ftp.rpm.org/pub/rpm/test/rpm-python-3.0.5-0.5.i386.rpm

Those should all install using rpm v3.  rpm 3.0.5 like I said
should be able to read v4 rpms and if not you can get the
srpm.

ftp://ftp.rpm.org/pub/rpm/test/rpm-3.0.5-0.5.src.rpm

and compile yourself choosing the configure option to
include support for version 4 rpms if its not in the
precompiled binary packages.  If you choose to install
rpm v4 from the cvs tree you'll probably need to upgrade
your libtool to do it.  If you go that route and have
problems e-mail me and I'll help ya through them, I've had
to do it many times before.

And don't worry, your database *should* be ok, though I
do not recommend rebuilding it before you install new rpm.
Seriously.

-Stan Bubrouski
e-mail: [EMAIL PROTECTED]

At 03:20 PM 7/13/00 -0600, Craig Kelley wrote:

>I was feeling frisky, so I upgraded to rpm-4.0-0.45.src.rpm (including
>updating everything in between).  Upon installation I was warned:
>
>  rpm -Uvh /usr/src/redhat/RPMS/i386/*
>  error: failed dependencies:
>         libbz2.so.0 is needed by rpm-4.0-0.45
>         libbz2.so.0 is needed by rpm-build-4.0-0.45
>         libbz2.so.0 is needed by rpm-python-4.0-0.45
>
>But I do have bzip2-1.0.1-1.src.rpm installed (as per the current rough
>cut), so I told it to --nodep itself and it installed just fine.  I then
>rebuilt the database (which took about 2 mintues), but I still get this
>when I try to use it:
>
>[root@desconocido 4]# rpm --rebuilddb
>[root@desconocido 4]# rpm -qa
>
>--> An rpm database in db1 format exists in /var/lib/rpm/packages.rpm.
>     Please convert to db3 format by running "rpm --rebuilddb" as root.
>
>Segmentation fault
>
>
>I need rpm-4xxx to install the latest XFree86-4.0.1 rpm (I have been using
>the XFree86-4.0-xx rpms for some time now, using rpm-3)
>
>Any clues?
>
>--
>The wheel is turning but the hamster is dead.
>Craig Kelley  -- [EMAIL PROTECTED]
>http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
>
>
>
>
>_______________________________________________
>Redhat-devel-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-devel-list



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to