how to have yum prefer one dependency over others

Richard Hughes hughsient at gmail.com
Sat Sep 17 07:08:24 UTC 2011


On 17 September 2011 07:21, Richard W.M. Jones <rjones at redhat.com> wrote:
> ... and no way to access yum information from anything other than
> Python, which makes it harder to use more professional programming
> languages and yum data together.  I had to write a whole bit of code
> that spawned a Python process to get some dependency data, write it to
> a file, and parse that back in to the real program.

Out of interest, would Zif allow you to do this? There are some
example programs here:
https://github.com/hughsie/zif/tree/master/examples or some developer
docs here: http://people.freedesktop.org/~hughsient/zif/docs/

Richard.


More information about the devel mailing list