遇到如下问题:
[[email protected] yum.repos.d]# yum repolist
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
libxml2.so.2: cannot open shared object file: No such file or directory
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.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
If you cannot solve this problem yourself, please go to the yum faq at: http://yum.baseurl.org/wiki/Faq
原文地址:http://blog.51cto.com/sf1314/2062329
时间: 2024-10-13 23:39:17