Hi all.
I've been playing around with this OpenVZ installation for over 1 week and I kept on stumbling upon this issue. I had reinstalled the FC7 OS for so many times that I lost count.
What I'm trying to do is installing FC7 on Vmware and then installed the OpenVZ. Everything installed very smoothly until I tried to run the vzpkgcache module and I kept on getting this error
ERROR: RPM python path not found: /usr/share/vzpkgtools/vzrpm44/lib/python2.5/site-packages
Creating cache for fedora-7-i386-default OS template
/usr/share/vzyum/lib/yum/__init__.py:1131: Warning: 'with' will become a reserved keyword in Python 2.6
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named cElementTree
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.5 (r25:51908, Nov 6 2007, 16:54:01)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-27)]
If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.
ERROR: yum failed with 1 exit code
I have searched and searched the forum and google for answer and I tried every possible suggestion including, reinstalling the python, installing the elementtree and cElementTree manually and I still hit the same problem. I searched for the elementtree and cElementTree and I found it somewhere in these directories
./usr/lib/python2.5/site-packages/smart/util/elementtree/ElementTree.pyo
./usr/lib/python2.5/site-packages/smart/util/elementtree/ElementTree.py
./usr/lib/python2.5/site-packages/smart/util/elementtree/ElementTree.pyc
./usr/lib/python2.5/site-packages/smart/util/cElementTree.so
./usr/lib/python2.5/lib-dynload/_elementtree.so
./usr/lib/python2.5/xml/etree/cElementTree.py
./usr/lib/python2.5/xml/etree/ElementTree.pyo
./usr/lib/python2.5/xml/etree/cElementTree.pyo
./usr/lib/python2.5/xml/etree/ElementTree.py
./usr/lib/python2.5/xml/etree/cElementTree.pyc
./usr/lib/python2.5/xml/etree/ElementTree.pyc
./usr/local/src/cElementTree-1.0.5-20051216
./usr/local/src/cElementTree-1.0.5-20051216/cElementTree.c
./usr/local/src/cElementTree-1.0.5-20051216/build/lib.linux-i686-2.5/cElementTree.so
./usr/local/src/cElementTree-1.0.5-20051216/build/temp.linux-i686-2.5/cElementTree.o
./usr/local/src/Python-2.5.1/Lib/xml/etree/cElementTree.py
./usr/local/src/Python-2.5.1/Lib/xml/etree/ElementTree.py
./usr/local/src/Python-2.5.1/Lib/xml/etree/ElementTree.pyc
./usr/local/src/Python-2.5.1/PC/VC6/_elementtree.dsp
./usr/local/src/Python-2.5.1/Modules/_elementtree.c
./usr/local/src/Python-2.5.1/PCbuild8/_elementtree.vcproj
./usr/local/src/Python-2.5.1/PCbuild/_elementtree.vcproj
./usr/local/src/Python-2.5.1/build/lib.linux-i686-2.5/_elementtree.so
./usr/local/src/Python-2.5.1/build/temp.linux-i686-2.5/usr/local/src/Python-2.5.1/Modules/_elementtree.o
./usr/local/src/elementtree-1.2.6-20050316
./usr/local/src/elementtree-1.2.6-20050316/elementtree/ElementTree.py
Has any of you had this type of problem in the past with the Fedora Core 7 installation and found a way to resolve it? If you do, mind sharing? Many thanks everyone and I'm looking forward to your thought and advise. Have a great day.
Le Dude.