/usr/lib/python2.4/site-packages/cElementTree.so:错误的 ELF 类:ELFCLASS32

/usr/lib/python2.4/site-packages/cElementTree.so:错误的 ELF 类:ELFCLASS32
 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)]

我尝试做一些研究并在 yum 上干净地运行,但我仍然无法安装或更新任何内容。

这是32-64位的问题吗?

答案1

尝试:

  1. 正在下载CentOS 7 的百胜
  2. rpm -ivh yum-*从保存位置。
  3. 重新发行yum update。如果它仍然抱怨,您需要某个版本元素树-x86_64
  4. 使用元素树重复第 2 步。

相关内容