Yum refused to start after upgrade: "The yum libraries do not seem to be available"

Jeff Spaleta jspaleta at gmail.com
Wed Apr 6 17:50:54 UTC 2005


On Apr 6, 2005 1:40 PM, Robin Green <greenrd at presidium.org> wrote:
> Just upgraded glibc and libxml2 from rawhide (and a few others, although I
> think those ones are most likely to be the culprits), and now yum won't
> start. It says:

i just did todays updates in about 4 iterations.
yum was still working for me after the glibc update.
the last update i did was the openoffice stuff... all of it installed fine.
and my yum still appears to work. i can install new things with it.. 

> Traceback (most recent call last):
> File "/usr/bin/yum", line 4, in ?
>   import yum
> File "__init__.py", line 21, in ?
> File "/usr/lib/python2.4/site-packages/rpm/__init__.py", line 7, in ?
>   from _rpm import *
> ImportError: dynamic module does not define init function (init_rpm)

from the files in your error... i suspect something wrong with the
rpm-python package that you have installed on your system, but I
couldn't begin to tell you what that problem is.
on my system:
rpm -qf /usr/lib/python2.4/site-packages/rpm/__init__.py
rpm-python-4.4.1-9

you might try to run rpm -V rpm-python and see if it outputs anything.
rpm -V rpm-python returns nothing on my system, indicating the rpmdata
and the  filesystem match up for the files in the rpm-python package
on my system.

Can you start up2date from a terminal? up2date also depends on the the
rpm-python modules.

-jef




More information about the fedora-test-list mailing list