Require

Tim Lauridsen tla at rasmil.dk
Sat Feb 17 17:30:39 UTC 2007


Tanguy Eric wrote:
> Le samedi 17 février 2007 à 11:33 -0500, Jesse Keating a écrit :
>   
>> On Saturday 17 February 2007 11:02, Tanguy Eric wrote:
>>     
>>> I would like to know how to know which packages foo require package bar
>>> or just a file from it.
>>> I explain : i just update a lib and i would like to know which packages
>>> will be affected by this and contact the maintainers.
>>>       
>> repoquery is your friend (:
>>
>>     
> Thanks but it's not my friend ...
>
> repoquery --alldeps --whatrequires libupnp
>
> Traceback (most recent call last):
>   File "/usr/bin/repoquery", line 690, in ?
>     main(sys.argv)
>   File "/usr/bin/repoquery", line 687, in main
>     repoq.runQuery(regexs)
>   File "/usr/bin/repoquery", line 416, in runQuery
>     for p in self.doQuery(oper, prco): print p
>   File "/usr/bin/repoquery", line 421, in doQuery
>     return getattr(self, "fmt_%s" % method)(*args, **kw)
>   File "/usr/bin/repoquery", line 439, in fmt_whatrequires
>     provs.extend(pkg.prco("provides"))
>   File "/usr/bin/repoquery", line 187, in prco
>     rpdict[misc.prco_typle_to_string(rptup)] = None
> AttributeError: 'module' object has no attribute 'prco_typle_to_string'
>
> Eric
>
> --
> Fedora-maintainers mailing list
> Fedora-maintainers at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-maintainers
>   
The is a typo bug in repoquery, just change 'prco_typle_to_string' to 
'prco_tuple_to_string' in line 186.
It is fixed upstream, it will be available in next yum-util release.

Tim


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20070217/7d061db2/attachment.htm>


More information about the Fedora-maintainers mailing list