I had updated by yum,however alway received the same result.<br>The result was:<br>filelists.xml.gz | 1.0 MB 00:15 <br>Traceback (most recent call last):<br> File "/usr/bin/yum", line 29, in ?<br> yummain.user_main(sys.argv[1:], exit_code=True)<br> File "/usr/share/yum-cli/yummain.py", line 229, in user_main<br> errcode = main(args)<br> File "/usr/share/yum-cli/yummain.py", line 145, in main<br> (result, resultmsgs) = base.buildTransaction() <br> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction<br> (rescode, restring) = self.resolveDeps()<br> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps<br> for po, dep in self._checkFileRequires():<br> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires<br> if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename):<br> File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides<br> for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():<br> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides<br> return self._computeAggregateDictResult("getProvides", name, flags, version)<br> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult<br> sackResult = apply(method, args)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides<br> return self._search("provides", name, flags, version)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc<br> return func(*args, **kwargs)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search<br> for pkg in self.searchFiles(name, strict=True):<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc<br> return func(*args, **kwargs)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles<br> self._sql_pkgKey2po(rep, cur, pkgs)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po<br> pkg = self._packageByKey(repo, ob['pkgKey'])<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey<br> po = self.pc(repo, cur.fetchone())<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__<br> self._read_db_obj(db_obj)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj<br> setattr(self, item, _share_data(db_obj[item]))<br>TypeError: unsubscriptable object<br>What's the problem?<br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://512.mail.163.com/mailstamp/stamp/dz/activity.do?from=footer">穿越地震带 纪念汶川地震一周年</a>
</span>