<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tanguy Eric wrote:
<blockquote cite="mid1171731302.7756.5.camel@bureau.maison" type="cite">
  <pre wrap="">Le samedi 17 février 2007 à 11:33 -0500, Jesse Keating a écrit :
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Saturday 17 February 2007 11:02, Tanguy Eric wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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.
      </pre>
    </blockquote>
    <pre wrap="">repoquery is your friend (:

    </pre>
  </blockquote>
  <pre wrap=""><!---->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
<a class="moz-txt-link-abbreviated" href="mailto:Fedora-maintainers@redhat.com">Fedora-maintainers@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-maintainers">https://www.redhat.com/mailman/listinfo/fedora-maintainers</a>
  </pre>
</blockquote>
The is a typo bug in repoquery, just change 'prco_typle_to_string' to
'prco_tuple_to_string' in line 186.<br>
It is fixed upstream, it will be available in next yum-util release.<br>
<br>
Tim<br>
<br>
<br>
</body>
</html>