Hi,
I´ve tried to solve my problem as follows:
- mounting the corrupted system per nfs (/ -> /mnt) from another rh8 system.
- try to downgrade the rpm´s with
rpm --root /mnt --upgrade --force --nodeps -vv *.rpm
unfortunately rpm seems to hang afer a while.
see output below.
any help?
regards, Michael
Michael Jürgens wrote:
rpm --root /mnt --upgrade --force --nodeps -vv *Hi,
I have a big problem with a RH8 Server. I installed fedora glibc rpm on a redhat 8.0 by mistake. And now it is impossible to start rpm updates anymore. rpm exits with segmentation fault.
unfortunally I have no access to the console of the server (it is in a data center far away).
I have to make all installations at runlevel 3.
I changed the following rpms: glibc-2.2.93-5.i686.rpm to glibc-2.3.2-101.i686.rpm glibc-common-2.2.93-5.i386.rpm to glibc-common-2.3.2-101.i386.rpm glibc-devel-2.2.93-5.i386.rpm to glibc-devel-2.3.2-101.i386.rpm memprof-0.5.0-2.i386.rpm to memprof-0.5.1-3.i386.rpm binutils-2.13.90.0.2-2.i386.rpm to binutils-2.14.90.0.6-3.i386.rpm new: tzdata-2003d-1.noarch.rpm
D: ============== binutils-2.13.90.0.2-2.i386.rpm
D: Expected size: 1968266 = lead(96)+sigs(344)+pad(0)+data(1967826)
D: Actual size: 1968266
D: opening db environment /mnt/var/lib/rpm/Packages joinenv
D: opening db index /mnt/var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /mnt/var/lib/rpm/Packages
D: opening db index /mnt/var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 310 Header sanity check: OK
D: ========== DSA pubkey id 219180cddb42a60e
D: binutils-2.13.90.0.2-2.i386.rpm: V3 DSA signature: OK, key ID db42a60e
D: opening db index /mnt/var/lib/rpm/Providename rdonly mode=0x0
D: read h# 375 Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
D: added binary package [0]
D: ============== glibc-2.2.93-5.i686.rpm
D: Expected size: 3856383 = lead(96)+sigs(344)+pad(0)+data(3855943)
D: Actual size: 3856383
D: ========== DSA pubkey id 219180cddb42a60e
D: glibc-2.2.93-5.i686.rpm: V3 DSA signature: OK, key ID db42a60e
D: read h# 500 Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
D: added binary package [1]
D: ============== glibc-common-2.2.93-5.i386.rpm
D: Expected size: 12020864 = lead(96)+sigs(344)+pad(0)+data(12020424)
D: Actual size: 12020864
D: ========== DSA pubkey id 219180cddb42a60e
D: glibc-common-2.2.93-5.i386.rpm: V3 DSA signature: OK, key ID db42a60e
D: read h# 373 Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
D: added binary package [2]
D: ============== glibc-devel-2.2.93-5.i386.rpm
D: Expected size: 2264199 = lead(96)+sigs(344)+pad(0)+data(2263759)
D: Actual size: 2264199
D: ========== DSA pubkey id 219180cddb42a60e
D: glibc-devel-2.2.93-5.i386.rpm: V3 DSA signature: OK, key ID db42a60e
D: read h# 124 Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
D: added binary package [3]
D: ============== memprof-0.5.0-2.i386.rpm
D: Expected size: 125430 = lead(96)+sigs(344)+pad(0)+data(124990)
D: Actual size: 125430
D: ========== DSA pubkey id 219180cddb42a60e
D: memprof-0.5.0-2.i386.rpm: V3 DSA signature: OK, key ID db42a60e
D: read h# 372 Header V3 DSA signature: OK, key ID db42a60e
D: added binary package [4]
D: found 0 source and 5 binary packages
D: ========== recording tsort relations
D: Requires: /sbin/ldconfig YES (added files)
D: ignore package name relation(s) [0] libtermcap -> bash
D: ignore package name relation(s) [1] modutils -> vixie-cron
D: ignore package name relation(s) [2] ypbind -> yp-tools
D: ignore package name relation(s) [3] ghostscript-fonts -> ghostscript
D: ignore package name relation(s) [4] libgnomeprint15 -> gnome-print
D: ignore package name relation(s) [5] nautilus -> nautilus-mozilla
D: ignore package name relation(s) [6] tcl -> postgresql-tcl
D: ignore package name relation(s) [7] arts -> kdelibs-sound
D: ignore package name relation(s) [8] pango-gtkbeta-devel -> pango-gtkbeta
D: ignore package name relation(s) [9] XFree86 -> Mesa
D: ignore package name relation(s) [10] compat-glibc -> db2
D: ignore package name relation(s) [11] compat-glibc -> db1
D: ignore package name relation(s) [12] pam -> initscripts
D: ignore package name relation(s) [13] initscripts -> sysklogd
D: Requires: /usr/sbin/glibc_post_upgrade YES (added files)
D: Requires: /sbin/ldconfig YES (added files)
D: Requires: /usr/sbin/build-locale-archive YES (added files)
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D: 0 0 2 1 0 +glibc-2.2.93-5
D: ========== successors only (presentation order)
D: 1 0 0 0 0 +binutils-2.13.90.0.2-2
D: 2 1 0 1 1 -binutils-2.14.90.0.6-3
D: 3 1 0 1 1 -glibc-2.3.2-101
D: 4 0 0 2 0 +glibc-common-2.2.93-5
D: 5 0 0 3 0 -glibc-common-2.3.2-101
D: 6 0 0 4 0 +glibc-devel-2.2.93-5
D: 7 0 0 5 0 -glibc-devel-2.3.2-101
D: 8 0 0 6 0 +memprof-0.5.0-2
D: 9 0 0 7 0 -memprof-0.5.1-3
D: installing binary packages
D: closed db index /mnt/var/lib/rpm/Pubkeys
D: closed db index /mnt/var/lib/rpm/Providename
D: closed db index /mnt/var/lib/rpm/Packages
D: closed db environment /mnt/var/lib/rpm/Packages
D: opening db environment /mnt/var/lib/rpm/Packages joinenv
D: opening db index /mnt/var/lib/rpm/Packages create mode=0x42
D: getting list of mounted filesystems
D: sanity checking 10 elments
D: computing 12708 file fingerprints
Preparing packages for installation...
D: computing file dispositions
D: opening db index /var/lib/rpm/Basenames create mode=0x42
D: opening db index /var/lib/rpm/Pubkeys create mode=0x42
D: read h# 500 Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
D: read h# 375 Header V3 DSA signature: NOKEY, key ID 4f2a6fd2