| zmonteca 2006-01-30, 5:56 pm |
| Hi all...
I was hoping someone could help me out. I was in the process of doing
an update to fc4, via fc2 from rh 8.0 and my rpm broke in the process.
I was trying to do this update via yum. The last packages I was able to
update were:
yum install bind-libs bind-utils openssl ncurses db4 tcp_wrappers
then this am i tried to do the rest by doing:
yum update and now I am left with:
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in ?
import yummain
File "/usr/share/yum/yummain.py", line 22, in ?
import clientStuff
File "/usr/share/yum/clientStuff.py", line 18, in ?
import rpm
ImportError: No module named rpm
I also figured out my rpm package was segfaulting on anything i tried
to install or update. I traced this to i _think_ being related to
python. I think i need Python 2.2 and all theese are using Python 2.3.
I could be totally off on this, though.
A snippet of My trace from rpm:
D: ========== tsorting packages (order, #predecessors, #succesors,
tree, depth)
D: 0 0 7 2 0 +popt-1.9.1-0.3
D: 1 0 5 4 0 +zlib-1.2.1.1-2.1
D: 2 0 5 0 0 +elfutils-libelf-0.95-2
D: 3 0 3 1 0 +beecrypt-3.1.0-3
D: 4 4 3 1 1 +rpm-4.3.1-0.3
D: 5 1 2 4 1 +file-4.07-4
D: 6 1 1 0 1 +elfutils-0.95-2
D: ========== successors only (presentation order)
D: 7 5 0 0 2 +rpm-python-4.3.1-0.3
D: 8 1 0 2 1 -rpm-4.1-1.06
D: 9 0 0 3 0 -popt-1.7-1.06
D: 10 6 0 4 2 +rpm-build-4.3.1-0.3
D: 11 2 0 4 2 -rpm-build-4.1-1.06
D: 12 5 0 1 2 +rpm-devel-4.3.1-0.3
D: 13 1 0 2 1 -rpm-devel-4.1-1.06
D: installing binary packages
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Requirename
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages create mode=0x42
D: getting list of mounted filesystems
D: sanity checking 14 elments
D: opening db index /var/lib/rpm/Name create mode=0x42
D: read h# 34 Header V3 DSA signature: OK, key ID db42a60e
D: read h# 74 Header V3 DSA signature: OK, key ID db42a60e
D: read h# 245 Header V3 DSA signature: OK, key ID db42a60e
D: read h# 143 Header V3 DSA signature: OK, key ID db42a60e
D: computing 2007 file fingerprints
Preparing... D: computing file dispositions
D: opening db index /var/lib/rpm/Basenames create mode=0x42
D: /var/lib/rpm/__db.004 skipped due to missingok flag
D: /var/lib/rpm/__db.005 skipped due to missingok flag
D: /var/lib/rpm/__db.006 skipped due to missingok flag
D: /var/lib/rpm/__db.007 skipped due to missingok flag
D: /var/lib/rpm/__db.008 skipped due to missingok flag
D: /var/lib/rpm/__db.009 skipped due to missingok flag
########################################
### [100%]
D: ========== +++ popt-1.9.1-0.3
D: Expected size: 62769 = lead(96)+sigs(344)+pad(0)+data(62329)
D: Actual size: 62769
D: install: popt-1.9.1-0.3 has 36 files, test = 0
Segmentation fault
and what I was trying to update to get all this working again:
rpm -Uvvh rpm-python-4.3.1-0.3.i386.rpm elfutils-0.95-2.i386.rpm
elfutils-libelf-0.95-2.i386.rpm rpm-4.3.1-0.3.i386.rpm
beecrypt-3.1.0-3.i386.rpm popt-1.9.1-0.3.i386.rpm
rpm-build-4.3.1-0.3.i386.rpm rpm-devel-4.3.1-0.3.i386.rpm
zlib-1.2.1.1-2.1.i386.rpm file-4.07-4.i386.rpm
Just as a note, I have deleted (rm /var/lib/rpm/__*) and rebuilt (rpm
--rebuilddb) the rpm db.
Any direction would be awesome...
Thanks.
|