can't uninstall wrong compat-db - segmentation fault

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

 



Help,

I accidentally installed compat-db-4.1.25-9  rpm on a redhat 2.1 system along with

binutils-2.15.92.0.2-15.i386.rpm
gcc-3.4.4-2.i386.rpm
gcc-c++-3.4.4-2.i386.rpm
glibc-2.3.4-2.13.i686.rpm
glibc-common-2.3.4-2.13.i386.rpm
libstdc++-3.4.4-2.i386.rpm
glibc-devel-2.3.4-2.13.i386.rpm
libstdc++-devel-3.4.4-2.i386.rpm
libgcc-3.4.4-2.i386.rpm
cpp-3.4.4-2.i386.rpm

using --nodeps option. 

After realizing that this system was not running the redhat-release that I had assumed, I am now
unable to downgrade the other rpms to the original versions because of this:

[root@nr-db000 update-RPMS]# rpm -Uvh --oldpackage *
error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by compat-db-4.1.25-9
        libc.so.6(GLIBC_2.3.2)   is needed by compat-db-4.1.25-9
        libpthread.so.0(GLIBC_2.3.2)   is needed by compat-db-4.1.25-9


If I try it with the nodeps option, I get segmentation fault.  Same problem attempting to remove
the compat-db package:

[root@nr-db000 update-RPMS]# rpm -e compat-db
error: removing these packages would break dependencies:
        libdb-3.3.so   is needed by pam-0.75-29
        libdb-3.3.so   is needed by sendmail-8.11.6-9.72.1
        libdb-3.3.so   is needed by perl-DB_File-1.75-26.72.4
        libdb-3.3.so   is needed by python-1.5.2-38
[root@nr-db000 update-RPMS]# rpm -e --nodeps compat-db
Segmentation fault

This despite that there wasn't even a compat-db package installed before I created this mess.  In fact there isn't
a compat-db rpm included in the 2.1 distro ( I thought maybe I could downgrade that package to fix this ).

I have tried rpm --rebuilddb already, and that doesn't seem to make any difference.  There aren't any __db files in /var/lib/rpm
either.

Any suggestions would be appreciated, as of now, I seem to be getting a segmentation fault if I try to install or uninstall anything

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux