[Yum] Trouble running yum on x86_64 sles10 machine

Lorraine Freeman lfreeman at sgi.com
Wed Apr 12 18:13:47 UTC 2006


when I run "yum" with no arguments I get this error message:


There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib/python2.4/site-packages/cElementTree.so: wrong ELF class: 
ELFCLASS32

I can't find any python-elementtree for x86_64.

I've tried installing  python-elementtree-1.2.6-4.2.1.src.rpm , as well as 
the i586 version, to no avail.

 The above error was produced when I had the i586 version installed

Here is the what happens when installing the src rpm:

penguin12:/tmp/python_elementtree # rpm -ivh *
warning: python-elementtree-1.2.6-4.2.1.src.rpm: Header V3 DSA signature: 
NOKEY, key ID 4f2a6fd2
   1:python-elementtree     ########################################### 
[100%]
penguin12:/tmp/python_elementtree # ls -ltar
total 164
-rw-r--r-- 1 root root 160896 Apr 12 12:13 
python-elementtree-1.2.6-4.2.1.src.rpm
drwxr-xr-x 2 root root     51 Apr 12 12:15 .
drwxrwxrwt 8 root root   4096 Apr 12 13:08 ..
penguin12:/tmp/python_elementtree # rpm -q -p 
python-elementtree-1.2.6-4.2.1.src.rpm --dump
warning: python-elementtree-1.2.6-4.2.1.src.rpm: Header V3 DSA signature: 
NOKEY, key ID 4f2a6fd2
cElementTree-1.0.2-20050302.zip 100135 1112627269 
aba87db5932ac46fd7a75cfbc711f6ba 0100664 root root 0 0 0 X
cElementTree-system-expat-setup.py 1623 1112627271 
94c820d2c675036390f89e9fb00ef323 0100664 root root 0 0 0 X
elementtree-1.2.6-20050316.zip 60939 1112627269 
6751a9005efbd2c543ef32905d4a0acd 0100664 root root 0 0 0 X
python-elementtree.spec 3177 1139635405 8e021600b30c18b9bdcec9ee2503aad3 
0100664 root root 0 0 0 X

Then I run yum:

penguin12:/tmp/python_elementtree # yum
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.














More information about the Yum mailing list