how to have yum prefer one dependency over others
Richard W.M. Jones
rjones at redhat.com
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 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/
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 http://people.redhat.com/~rjones
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