安装yum报错 ImportError: No module named sqlitecachec

前端之家收集整理的这篇文章主要介绍了安装yum报错 ImportError: No module named sqlitecachec前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

[root@localhostyum-3.4.3]#  ./yummain.py update
Traceback (mostrecent call last):
  File "./yummain.py",line 28,in<module>
    from yum import Errors
  File"/root/yum-3.4.3/yum/__init__.py",line 55,in <module>
    import rpmsack
  File"/root/yum-3.4.3/yum/rpmsack.py",line 38,in <module>
    import yum.depsolve
  File"/root/yum-3.4.3/yum/depsolve.py",line 30,in <module>
    from transactioninfo importTransactionMember
  File"/root/yum-3.4.3/yum/transactioninfo.py",line 32,in <module>
    from sqlitesack importYumAvailablePackagesqlite
  File"/root/yum-3.4.3/yum/sqlitesack.py",line 26,in <module>
    import yumRepo
  File"/root/yum-3.4.3/yum/yumRepo.py",line 33,in <module>
    import sqlitecachec
ImportError: Nomodule named sqlitecachec

解决方法

查看你安装的

python-iniparse-*.e*.noarch.rpm

yum-*.centos.0.1.noarch.rpm

yum-Metadata-parser-*.x86_64.rpm

yum-plugin-fastestmirror-*.noarch.rpm

插件版本是不是与CentOS对应的版本,插件版本安对了就不报错了

原文链接:https://www.f2er.com/bash/389045.html

猜你在找的Bash相关文章