yum error after fc2 t2 update
R. Scott Baer
Baer at BaerSolutions.com
Fri Apr 2 13:56:33 UTC 2004
R. Scott Baer wrote:
> seth vidal wrote:
>
>> On Thu, 2004-04-01 at 19:05 -0500, R. Scott Baer wrote:
>>
>>
>>
>>> I have a fresh install of fc2 test 2
>>>
>>> did a yum update today, everything went fine.
>>>
>>> ran yum update again, to insure all packages were installed... and
>>> this is what I get.
>>>
>>> yum update
>>> 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: /usr/lib/python2.3/site-packages/rpmmodule.so:
>>> undefined symbol: rpmdsBT
>>>
>>> yum-2.0.6-1
>>> python-2.3.3-3
>>>
>>> rpmmodule.so is part of rpm-python-4.3.1-0.1
>>>
>>> is this a bug ???? or did I do something wrong ??
>>>
>>
>>
>> rpm -q rpm-python
>>
>> I bet you have two of them.
>>
>> or
>> rpm -q rpm
>>
>> you might have a mismatch
>> the first version and release numbers of rpm-python and rpm should
>> match.
>>
>> if you have an extra rpm-python rpm -e the one that doesn't match.
>>
>> -sv
>>
>>
> Thanks for the reply..
>
> I have one of each:
>
> rpm-python-4.2.1-0.30
> rpm-4.2.1-0.30
>
> the only other rpm's I have with "rpm" in the name are:
>
> librpm404-4.0.4-8x.27
> rpm404-python-4.0.4-8x.27
>
Scratch that last e-mail... I was on the wrong box....
here is the correct info:
rpm-python-4.3.1-0.1
rpm ??? not installed, did a rpm -qf /bin/rpm
file is not owned by any package
????????
I can do a fresh install, is you would like me to try to duplicate this ????
Here is what I had to do(or should I say what I did.. not sure if I
should have done it this way or not)...
newrole -t sysadm_r
setenforce 0
rpm -U htt://....path to rpm/.rpm-4.3.1-0.1.i386
yum update
and it worked...
do I need to do a:
fixfiles relabel
reboot
Or should is their a better way of doing this?? I'm still wondering
how I got into a funky state, with the rpm uninstalled.. but /bin/rpm
was still in place...
Scott
More information about the fedora-test-list
mailing list