Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] yum update TypeError: unsubscriptable object


From: "Voytek Eymont" <lists@xxxxxxxxxx>
To: slug@xxxxxxxxxxx
Reply-To: lists@xxxxxxxxxx
User-Agent: SquirrelMail/1.5.1
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I'm trying to run 'yum update' on centos but it fails with screensfule of
failures like:

--------------
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in
getProvides
    return self._search("provides", name, flags, version)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in
_search
    for pkg in self.searchFiles(name, strict=True):
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in
searchFiles
    self._sql_pkgKey2po(rep, cur, pkgs)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in
_sql_pkgKey2po
    pkg = self._packageByKey(repo, ob['pkgKey'])
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in
_packageByKey
    po = self.pc(repo, cur.fetchone())
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in
__init__
    self._read_db_obj(db_obj)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in
_read_db_obj
    setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object
[root@centos ~]#

any suggestion ?

--------------

Voytek

-- 

Voytek