![/usr/lib/python2.4/site-packages/cElementTree.so:错误的 ELF 类:ELFCLASS32](https://linux22.com/image/35437/%2Fusr%2Flib%2Fpython2.4%2Fsite-packages%2FcElementTree.so%EF%BC%9A%E9%94%99%E8%AF%AF%E7%9A%84%20ELF%20%E7%B1%BB%EF%BC%9AELFCLASS32.png)
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
尝试:
- 正在下载CentOS 7 的百胜。
rpm -ivh yum-*
从保存位置。- 重新发行
yum update
。如果它仍然抱怨,您需要某个版本元素树-x86_64。 - 使用元素树重复第 2 步。