[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Upgrade Rpm from 3 to 4



Thanks for the advice but when I do what you suggest I get a dependency
error as below.

[root@vdc2 /tmp]# rpm -Uvh db3*
error: failed dependencies:
        libc.so.6.1(GLIBC_2.0)   is needed by db3-3.1.17-10
        libc.so.6.1(GLIBC_2.1)   is needed by db3-3.1.17-10
        libc.so.6.1(GLIBC_2.1.3)   is needed by db3-3.1.17-10
        libc.so.6.1(GLIBC_2.2)   is needed by db3-3.1.17-10
        libc.so.6.1   is needed by db3-3.1.17-10


Then when I go to install the GLIBC rpm I get a Segmentation Fault as below:

[root@vdc2 /tmp]# rpm -Uvh glibc-2.1.3-23.i386.rpm
Segmentation fault

When I check the version it tells me its version 4 but this is cause I
forced the install before.  I dont actually believe that version 4 is
properly installed.

[root@vdc2 /tmp]# rpm --version
RPM version 4.0.2

Then when I try to rebuild DB i get the following:

[root@vdc2 /tmp]# rpm --rebuilddb
/usr/lib/rpm/rpmdb: error while loading shared libraries: libdb-3.1.so:
cannot load shared object file: No such file or directory

and when I try to install the rpm itself I get:

[root@vdc2 /tmp]# rpm -ivv rpm-4.0.2-8.i386.rpm
D: counting packages to install
D: found 1 packages
D: looking for packages to download
D: retrieved 0 packages
D: Expected size:      1343714 = lead(96)+sigs(149)+pad(3)+data(1343466)
D:   Actual size:      1343714
D: opening db file        /var/lib/rpm/packages.rpm mode 0x42
D: found 0 source and 1 binary packages
D: opening db file        /var/lib/rpm/Depends.idx mode 0x42
D: closed  db file        /var/lib/rpm/Depends.idx
D: removed db file        /var/lib/rpm/Depends.idx
error: cannot open Depends index using db1 - Invalid argument (22)
D: opening db file        /var/lib/rpm/providesindex.rpm mode 0x42
D: opening db file        /var/lib/rpm/nameindex.rpm mode 0x42
D:  Requires: gawk                                          YES (db package)
D:  Requires: fileutils                                     YES (db package)
D:  Requires: textutils                                     YES (db package)
D:  Requires: mktemp                                        NO
D: package rpm-4.0.2-8 require not satisfied: mktemp
D:  Requires: popt                                          YES (db package)
D:   YES    A glibc = 2.2.2-10  B glibc >= 2.1.92
D:  Requires: glibc >= 2.1.92                               YES (db
provides)
D:  Requires: db1 = 1.85                                    NO
D: package rpm-4.0.2-8 require not satisfied: db1 = 1.85
D: opening db file        /var/lib/rpm/fileindex.rpm mode 0x42
rpm: header.c:241: regionSwab: Assertion `ie.info.type >= 0 && ie.info.type
<= 9
' failed.
Aborted


Any help would be appreciated.  Thanks very much in advance.  Regards,
Gerard O'Reilly

----- Original Message -----
From: "Theo Van Dinter" <felicity@kluge.net>
To: <rpm-list@redhat.com>
Sent: Friday, January 11, 2002 8:39 PM
Subject: Re: Upgrade Rpm from 3 to 4


> On Fri, Jan 11, 2002 at 05:20:37PM +0700, Gerard O'Reilly wrote:
> > I am using redhat 6.2 and wanted to upgrade my PHP from 3 to 4.  BUt
when i went to use RPM to do this it told me i could onlt install < version
3.  Howeer, following extensive research ont he Net I found out that you
could upgrade to version 3.5 of rpm and from there upgrade to version 4.
Well it didnt work at all. Now I am getting dependency errors for glibc,
glib common, db1, db3 and every time I download an rpm and try to install it
it has other dependencies.  I even tried force (what else could I try?).
>
> How did you upgrade from v3 to v4?  Did you upgrade the necessary
libraries?
> Did you install the appropriate db3 rpms?
>
> I've upgraded many 6.2 boxes to rpm 4 without issue.  It's typically a
> download from redhat's update site for rpm-* and db3-*, then a "rpm -Uvh
> db3*" a "rpm -Fvh rpm-*" and finally a "rpm --rebuilddb".
>
> Everything works fine after that.
>
> --
> Randomly Generated Tagline:
> That shot is impossible!  Jack Nicholson himself couldn't make it!
>
>   -- Homer Simpson
>      Scenes from the Class Struggle in Springfield
>
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []