To: <rpm-list@xxxxxxxxxx>
Sent: Monday, February 28, 2005 7:32 AM
Subject: RPM Hangs
I am using rpm version 4.2 on redhat 9 (Shrike)
I have found that I have been getting hangs and segmentation faults when I try and install rpm packages. I have also found that many of the rpm packages I had installed are not listed when I do rpm -qa.
I have followed instructions here http://www.rpm.org/hintskinks/repairdb/ to rebuild the rpm database the packages but that doesn't have any effect. (ie rm -f /var/lib/rpm/__db*, rpm --rebuilddb ..etc)
I tried to upgrade to v4.2.1 but I think that I have rpm 4.1 installed as an rpm however I can't verify
this. I tried to upgrade to v4.2.1 but i get a hang
see the following debug.
Any help appreciated.
Jeremy
rpm -Uvvh /tmp/rpm-4.2.1-0.30.i386.rpm D: ============== /tmp/rpm-4.2.1-0.30.i386.rpm
D: Expected size: 2122033 =
lead(96)+sigs(344)+pad(0)+data(2121593)
D: Actual size: 2122033
D: opening db environment /var/lib/rpm/Packages
joinenv
D: opening db index /var/lib/rpm/Packages
rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Pubkeys rdonly
mode=0x0
warning: /tmp/rpm-4.2.1-0.30.i386.rpm: V3 DSA
signature: NOKEY, key ID 4f2a6fd2
D: opening db index /var/lib/rpm/Providename
rdonly mode=0x0
D: added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ rpm-4.2.1-0.30 i386/linux 0x1
D: opening db index /var/lib/rpm/Depends create
mode=0x0
D: opening db index /var/lib/rpm/Basenames
rdonly mode=0x0
D: opening db environment
/usr/lib/rpmdb/i386-redhat-linux/redhat/Packages
joinenv
D: opening db index /usr/lib/rpmdb/i386-redhat-linux/redhat/Packages
rdonly mode=0x0
D: opening db index /usr/lib/rpmdb/i386-redhat-linux/redhat/Basenames
rdonly mode=0x0
I seem to remember that I had to issue the commands:
unset LANG
and maybe:
export LD_ASSUME_KERNEL=2.2.5
to get around that.
Thomas
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list