Red Hat Bugzilla – Bug 521066
repoquery traceback: AttributeError: 'YumBaseQuery' object has no attribute 'setCacheDir'
Last modified: 2014-01-21 18:11:15 EST
Description of problem:
repoquery returns a python traceback if I want to use it:
# repoquery foo
Traceback (most recent call last):
File "/usr/bin/repoquery", line 853, in <module>
File "/usr/bin/repoquery", line 790, in main
if not repoq.setCacheDir(opts.tempcache):
AttributeError: 'YumBaseQuery' object has no attribute 'setCacheDir'
Version-Release number of selected component (if applicable):
yum-utils-1.1.23-1.fc10 (from updates-testing)
Steps to Reproduce:
1. repoquery foo
some useful info
this happens both as user and as root and also after running "yum clean all".
I can reproduce the issue in F11, but it is fixed running again YUM-3_2_X HEAD
So it look like yum-utils should requere yum-3.2.24 (not yet released).
I should work in rawhide there contains patches from YUM-3_2_X HEAD.
i have requested an unpushed yum-utils-1.1.23 from F10 and F11.
I believe this is currently fine in both f10 and f11 currently
If we release yum 3.2.24 for f10 then it'll be fine there if/when we push a yum-utils there.