[Yum-devel] yum dependency solver

Qiming Ye yeqiming at gmail.com
Thu Nov 3 06:37:58 UTC 2011

Thank you Tim for the direction.

- Tim

> Dear list,
> I'm looking for a simple way to use yum api to solve a certain package's
> dependencies, I grep'ed the doc & source code and found findDeps(), but
> this method expects the parameter to be pkgobj, how can I translate a
> string to a package object?
> Thank you,
> - Tim
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
you can check the get_dependecies in yumex source


It will give you and idea, how to do it

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20111103/a3d2f920/attachment.html>

More information about the Yum-devel mailing list