[CentOS] Possible bug?

Mon Apr 13 20:08:43 UTC 2009
Sam Drinkard <sam at wa4phy.net>

I had some problems with apache, and there were so many, (caused by 
removing ispconfig) I decided to just remove and re-install.  This is 
what happened when I tried to do so, both from remote and via console.  
I tried the DVD as well as yum, and got essentially the same thing.  My 
webserver  is down, and I'd sure like to get this fixed if anyone can 
help out.


Begin errors:

Component: pirut
Summary: TBe8ae967a sqlitesack.py:94:_read_db_obj:TypeError: 
unsubscriptable object

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 373, in _apply
    output = self.applyChanges(self.mainwin)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 813, 
in applyChanges
    self.checkDeps(mainwin)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 550, 
in checkDeps
    (result, msgs) = self.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)
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, 
in _computeAggregateDictResult
    sackResult = apply(method, args)
  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

Local variables in innermost frame:
item: name
db_obj: None

Many thanks..

Sam