概述

因为非常复杂的原因导致系统无法使用yum命令,并提示如下错误。

[root@localhost ~]# yum list wget
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named sqlitecachec

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, Feb 22 2013, 00:00:18) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]

If you cannot solve this problem yourself, please go to 
the yum faq at:
  http://yum.baseurl.org/wiki/Faq

解决办法

[root@localhost ~]# rpm -q yum-metadata-parser
yum-metadata-parser-1.1.2-16.el6.x86_64
[root@localhost ~]# rpm -Uvh --replacepkgs yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
END

本文标题:Centos6 Yum提示No module named sqlitecachec处理

本文作者:宇宙最帅的男人

本文链接:https://lolicp.com/linux/202216402.html

版权声明:转载或者引用本文内容请注明来源及原作者,本文著作权归作者 (宇宙最帅的男人) 所有。

除非另有说明,本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

最后修改:2022 年 02 月 16 日
如果觉得我的文章对你有用,请随意赞赏