Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 601768 - repoquery --provides crashes with traceback
repoquery --provides crashes with traceback
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-06-08 11:11 EDT by Petr Pisar
Modified: 2014-01-21 18:15 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-08 11:49:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Pisar 2010-06-08 11:11:39 EDT
$ rpm -qf /usr/bin/repoquery 

$ repoquery --provides coreutils
Traceback (most recent call last):
  File "/usr/bin/repoquery", line 930, in <module>
  File "/usr/bin/repoquery", line 926, in main
  File "/usr/bin/repoquery", line 567, in runQuery
    out = pkg.doQuery(oper)
  File "/usr/bin/repoquery", line 180, in doQuery
    return getattr(self, "fmt_%s" % method)(*args, **kw)
  File "/usr/bin/repoquery", line 219, in fmt_provides
    return "\n".join(self.prco('provides'))
  File "/usr/bin/repoquery", line 322, in prco
    names = self.pkg.tagByName('%sname' % what)
  File "/usr/lib/python2.6/site-packages/yum/sqlitesack.py", line 272, in __getattr__
    raise KeyError, str(e)
KeyError: 'no such column: tagByName'

$ rpm -qf /usr/lib/python2.6/site-packages/yum/sqlitesack.py

So maybe its a yum bug.
Comment 1 seth vidal 2010-06-08 11:18:49 EDT
IF you could try the yum-utils pkg that is in updates-testing


that'd be great.
Comment 2 Petr Pisar 2010-06-08 11:41:24 EDT
Thanks for hint. I checked the not-yet-in-testing package and it fixed my problem. FYI, I installed yum-utils-1.1.27-2.fc13.noarch only (no other subpackages).

Note You need to log in before you can comment on or make changes to this bug.