[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