源码安装yum报错 ImportError: No module named sqlitecachec-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

源码安装yum报错 ImportError: No module named sqlitecachec

a123456678 2016-06-20 15:31:02 5790

因为手贱,yum -y remove *,删了yum,重新安装的时候遇到了问题。

./yummain.py install yum
Traceback (most recent call last):
  File "./yummain.py", line 27, in <module>
    from yum import Errors
  File "/home/huaxiaolong/yum-3.2.28/yum/__init__.py", line 42, in <module>
    import rpmsack
  File "/home/huaxiaolong/yum-3.2.28/yum/rpmsack.py", line 38, in <module>
    import yum.depsolve
  File "/home/huaxiaolong/yum-3.2.28/yum/depsolve.py", line 30, in <module>
    from transactioninfo import TransactionMember
  File "/home/huaxiaolong/yum-3.2.28/yum/transactioninfo.py", line 31, in <module>
    from sqlitesack import YumAvailablePackageSqlite
  File "/home/huaxiaolong/yum-3.2.28/yum/sqlitesack.py", line 26, in <module>
    import yumRepo
  File "/home/huaxiaolong/yum-3.2.28/yum/yumRepo.py", line 32, in <module>
    import sqlitecachec
ImportError: No module named sqlitecachec

sqlitecachec 这个模块需要安装哪个依赖包?网上查了很久都查不到。

楼上不好意思,我也出现这个问题,借你的题问下哈

安装了yum-metadata-parse后依旧报这个错误,请问是什么原因,如何解决?

分享到
取消 提交回答
全部回答(1)
  • a123456678
    2019-07-17 19:44:11

    yum-metadata-parser

    0 0
+ 订阅

时时分享云计算技术内容,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。

推荐文章