Bug 601768 - repoquery --provides crashes with traceback
repoquery --provides crashes with traceback
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2010-06-08 11:49:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 
yum-utils-1.1.27-1.fc13.noarch

$ repoquery --provides coreutils
Traceback (most recent call last):
  File "/usr/bin/repoquery", line 930, in <module>
    main(sys.argv)
  File "/usr/bin/repoquery", line 926, in main
    repoq.runQuery(regexs)
  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
yum-3.2.27-4.fc13.noarch

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

https://admin.fedoraproject.org/updates/yum-utils-1.1.27-2.fc13

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.