首页 > TroubleShooting > rhel5.3的yum的错误

rhel5.3的yum的错误

2010年7月22日 发表评论 阅读评论

今天在一台rhel(redhat enterprise linux)5 update 3的机器上yum装东西
突然发现出错了
连yum update也出错,错误像下面这样:
Traceback (most recent call last):
File “/usr/bin/yum”, line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File “/usr/share/yum-cli/yummain.py”, line 229, in user_main
errcode = main(args)
File “/usr/share/yum-cli/yummain.py”, line 145, in main
(result, resultmsgs) = base.buildTransaction()
File “/usr/lib/python2.4/site-packages/yum/__init__.py”, line 647, in buildTransaction
(rescode, restring) = self.resolveDeps()
File “/usr/lib/python2.4/site-packages/yum/depsolve.py”, line 696, in resolveDeps
CheckDeps, checkinstalls, checkremoves, missing = self._resolveRequires(errors)
File “/usr/lib/python2.4/site-packages/yum/depsolve.py”, line 779, in _resolveRequires
thisneeds = self._checkInstall(txmbr)
File “/usr/lib/python2.4/site-packages/yum/depsolve.py”, line 851, in _checkInstall
provs = self.tsInfo.getProvides(*req)
File “/usr/lib/python2.4/site-packages/yum/transactioninfo.py”, line 432, in getProvides
result.update(self.getNewProvides(name, flag, version))
File “/usr/lib/python2.4/site-packages/yum/transactioninfo.py”, line 414, in getNewProvides
for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():
File “/usr/lib/python2.4/site-packages/yum/packageSack.py”, line 300, in getProvides
return self._computeAggregateDictResult(“getProvides”, name, flags, version)

最有
重新yum clean all后好了
问题真奇怪

分类: TroubleShooting 标签: , , ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.