how to have yum prefer one dependency over others

Richard W.M. Jones rjones at
Sat Sep 17 09:38:59 UTC 2011

On Sat, Sep 17, 2011 at 08:08:24AM +0100, Richard Hughes wrote:
> On 17 September 2011 07:21, Richard W.M. Jones <rjones at> 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:
> or some developer
> docs here:

Yeah, it looks possible.

The very fact that you're exposing a C API and a library is a
promising start, even if it didn't yet do specifically what I needed.


Richard Jones, Virtualization Group, Red Hat
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.

More information about the devel mailing list