概述
错误:
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 97, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 464, in doCommands
return self.installPkgs()
File "/usr/share/yum-cli/cli.py", line 830, in installPkgs
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
self.doSackSetup(thisrepo=thisrepo)
File "__init__.py", line 260, in doSackSetup
File "repos.py", line 287, in populateSack
File "sqlitecache.py", line 96, in getPrimary
File "sqlitecache.py", line 83, in _getbase
File "sqlitecache.py", line 76, in getDatabase
File "sqlitecache.py", line 49, in loadCache
File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute
MemoryError
解决方法:由于系统是Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
sqlite版本过高导致的问题,卸载, 找个符合的版本重新安装
系统版本低伤不起
以下是我生产线上正常的sqlite版本
sqlite-3.2.2-1 sqlite2-2.8.17-2.el4.remi python-sqlite-1.1.6-1
本文转自 holy2009 51CTO博客,原文链接:http://blog.51cto.com/holy2010/741704
最后
以上就是不安黑裤为你收集整理的yum 的MemoryError & Traceback (most recent call last):的全部内容,希望文章能够帮你解决yum 的MemoryError & Traceback (most recent call last):所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复