SOLVED - yum and up2date broken after rpm update

Christian Schlaefcke cschlaefcke at wms-network.de
Sun Apr 4 10:05:04 UTC 2004


> On Sun, 2004-04-04 at 10:57, Christian Schlaefcke wrote:
>> Hi Folks,
>>
>> > when I run yum or up2date from console I get:
>> > yum:
>> > 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
>> >
>> > up2date:
>> > Traceback (most recent call last):
>> >   File "/usr/sbin/up2date", line 12, in ?
>> >     import rpm
>> > ImportError: /usr/lib/python2.3/site-packages/rpmmodule.so: undefined
>> > symbol: rpmdsBT
>> >
>> > What´s the problem? How do I get this "rpmdsBT" resolved?
>>
>> I cannot get it running again :-(
>>
>> I completely reinstalled up2date, yum and all depending stuff:
>> firstboot-1.3.10-1.noarch.rpm
>> rhn-applet-2.1.7-1.1.i386.rpm
>> system-config-network-1.3.16-1.noarch.rpm
>> system-config-network-tui-1.3.16-1.noarch.rpm
>> system-config-packages-1.2.10-1.noarch.rpm
>> up2date-4.3.11-2.1.1.i386.rpm
>> up2date-gnome-4.3.11-2.1.1.i386.rpm
>> yum-2.0.6-1.noarch.rpm
>>
>> and also:
>> rpm-python-4.3.1-0.1.i386.rpm
>>
>> I still get the above error. What is missing? Where does this
>> rpmmodule.so
>> come from? rpm-python? I this version broken?
>>
>> Thanks for any help!
>>
>> Regards,
>>
>> Chris
>>
> I had the same problem and it went away when I installed, using rpm,
> everything that started with rpm so I can't tell you what did it.
>
>
>> rpm-4.3.1-0.1.i386.rpm        rpm-devel-4.3.1-0.1.i386.rpm
>> rpm-build-4.3.1-0.1.i386.rpm  rpm-python-4.3.1-0.1.i386.rpm

After checking what rpm related packages are installed:

# rpm -qa | grep rpm
rpm-build-4.3.1-0.1
rpm-lib-4.3-0.20040107.7      <<<<<<< Ouups!?
rpmdb-fedora-1.91-0.20040403
rpm-devel-4.3.1-0.1
rpm-python-4.3.1-0.1
rpm-4.3.1-0.1

I saw an outdated rpm-lib package was still installed.

# rpm -e rpm-lib-4.3-0.20040107.7
This did the trick for me! Should be careful with "--nodeps" the next time
:-)

Regards,

Chris





More information about the fedora-test-list mailing list