Description of problem: Repoquery reports a deprecation warning when using the -C option. Version-Release number of selected component (if applicable): yum-utils-0.6-2.fc5 Repoquery version 0.0.11 How reproducible: Always Steps to Reproduce: 1. repoquery -C perl Actual results: /usr/lib/python2.4/site-packages/yum/config.py:462: DeprecationWarning: setConfigOption() will go away in a future version of Yum. Please set option values as attributes or using setattr(). DeprecationWarning) Running from cache, results might be incomplete. perl-4:5.8.8-5.i386 Expected results: Running from cache, results might be incomplete. perl-4:5.8.8-5.i386
possibly related to https://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=580
This issue now completely breaks repoquery -c in FC6. (yum-utils-1.0.1-1.fc6) $ repoquery -c something.conf foopackage Traceback (most recent call last): File "/usr/bin/repoquery", line 690, in ? main(sys.argv) File "/usr/bin/repoquery", line 652, in main repoq.conf.setattr('showdupesfromrepos', 1) AttributeError: 'YumConf' object has no attribute 'setattr'
I did of course mean "repoquery -C" not "repoquery -c"
reported in the upstream bugtracker https://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=659
Fixed in yum-utils 1.0.x
Any chance of an update to 1.0.2 in FE to close this bug?
I have just pushed them to FE (FC6 & Devel), they will be available at next push.