yum traceback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



did a yum update on CentOS 5.2 last night.  Updated 530MB of packages,
one which was rpm-4.4.2.  Now I get the following error on 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 704, in
resolveDeps
    for po, dep in self._checkFileRequires():
  File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in
_checkFileRequires
    if not self.tsInfo.getOldProvides(filename) and not
self.tsInfo.getNewProvides(filename):
  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

yum --version provides:
3.2.19
  Installed: yum-metadata-parser-1.1.2-2.el5.i386 at 2008-06-25 08:36
  Built    : [] at 2008-05-24 19:53
  Committed: James Antill <james.antill@xxxxxxxxxx> at 2008-01-18 22:00

  Installed: rpm-4.4.2.3-9.el5.i386 at 2009-04-02 02:45
  Built    : [] at 2009-01-21 08:05
  Committed: Panu Matilainen <pmatilai@xxxxxxxxxx> at 2008-12-02 22:00

  Installed: yum-3.2.19-18.el5.centos.noarch at 2009-04-02 02:27
  Built    : [] at 2009-01-22 10:53
  Committed: Karanbir Singh <kbsingh@xxxxxxxxxx> at 2009-01-22 22:00

I think the rpm package is the source of my problem.  Can you please
help me recover?

Thanks

Steve


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux