因为手贱,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-parser