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@lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>
>
you can check the get_dependecies in yumex source

https://github.com/timlau/yumex/blob/master/src/yumexbackend/yum_server.py#L664

It will give you and idea, how to do it

Tim
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to