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

Robin Green greenrd at presidium.org
Wed Apr 6 17:40:02 UTC 2005


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:

The yum libraries do not seem to be availableon your system for this version of python  2.4 (#1, Mar 14 2005, 19:45:57)
[GCC 4.0.0 20050310 (Red Hat 4.0.0-0.33)]
Please make sure the package you used to installyum was built for your install of python.

If I comment out the relevant try..except in /usr/bin/yum, the *actual*
error is:

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)


Anyone else seeing this?

-- 
Robin





More information about the test mailing list