0
 yum update
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

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.4.3 (#1, Jan  9 2013, 06:47:03)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]

I've tried doing some research and running clean on yum, but I still cannot get anything to install or update.

Is this a 32-64bit issue?

4
  • What is the output of uname -a?
    – eyoung100
    Dec 30, 2014 at 17:04
  • 2.6.32-042stab093.4 x86_64
    – Jason
    Dec 30, 2014 at 17:39
  • That error message sounds like a 32/64 thing. Where did that .so file come from (which package, or was it hand-installed?)
    – derobert
    Dec 30, 2014 at 17:40
  • I have no idea actually. Just noticed yum was not working.
    – Jason
    Dec 30, 2014 at 17:59

1 Answer 1

1

Try:

  1. Downloading Yum for CentOS 7.
  2. rpm -ivh yum-* from the save location.
  3. Reissue yum update. If it still complains, you need some version of element-tree-x86_64.
  4. Repeat number 2 with element-tree.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .