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?
On Apr 6, 2005 1:40 PM, Robin Green greenrd@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
On Wed, 6 Apr 2005, Jeff Spaleta wrote:
On Apr 6, 2005 1:40 PM, Robin Green greenrd@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..
It looks like the new glibc had only installed part-way. I think this was something to do with running on xen and having a very hacky workaround for the /lib/tls issues.
I fixed it by booting from a rescue disk, uninstalling both old and new versions of glibc, and installing the new version again.
Now yum works - at least on normal linux - haven't tried xen0-linux yet.