错误:
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