[Yum] repoquery errors

Panu Matilainen pmatilai at laiskiainen.org
Mon Apr 3 15:48:37 UTC 2006


On Sat, 2006-04-01 at 03:06 -0800, Bruce BrackBill wrote:
> With FC5 and yum-utils-0.5-1 from extras i run the following command:
> 
> repoquery --groupmember some_package_name
> 
> and it errors with:
> 
> # repoquery --groupmember k3b
> Traceback (most recent call last):
>   File "/usr/bin/repoquery", line 666, in ?
>     main(sys.argv)
>   File "/usr/bin/repoquery", line 663, in main
>     repoq.runQuery(regexs)
>   File "/usr/bin/repoquery", line 402, in runQuery
>     for p in self.doQuery(oper, prco): print p
>   File "/usr/bin/repoquery", line 407, in doQuery
>     return getattr(self, "fmt_%s" % method)(*args, **kw)
>   File "/usr/bin/repoquery", line 411, in fmt_groupmember
>     for id in self.groupInfo.grouplist:
> AttributeError: 'YumBaseQuery' object has no attribute 'groupInfo'
> 
> The other repoquery options seem to work ok.

Uhhuh, I'd forgotten all about group stuff having been completely
revamped in yum 2.6.x so all group-related operations in repoquery of
yum-utils 0.5 are broken. 

Fixed in CVS HEAD now, thanks for reporting this.

	- Panu -




More information about the Yum mailing list