Hi all
Im trying to install yum on the newly installed RHEL 4.. but it doesn't work
wget
python-elementtree-1.2.6-5.el4.centos.i386.rpm
python-sqlite-1.1.7-1.2.1.i386.rpm
python-urlgrabber-2.9.8-2.noarch.rpm
sqlite-3.3.6-2.i386.rpm
yum-2.4.3-4.el4.centos.noarch.rpm
yum-metadata-parser-1.0-8.el4.centos.i386.rpm
[root@localhost]# yum
Code:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Feb 18 2008, 17:16:53)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
in python
[root@localhost]# python
Quote:
Python 2.3.4 (#1, Feb 18 2008, 17:16:53)
|
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quote:
>>> import yum
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "__init__.py", line 35, in ?
File "groups.py", line 3, in ?
File "comps.py", line 4, in ?
ImportError: /usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory
|