[Yum-devel] [PATCH 4/4] Check the installed pkg. before the remote one, so we get deps. tree right.

tim.lauridsen at gmail.com tim.lauridsen at gmail.com
Wed Aug 24 13:59:04 UTC 2011


On Tue, Aug 23, 2011 at 8:44 PM, James Antill <james at and.org> wrote:
> ---
>  cli.py |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/cli.py b/cli.py
> index 9c89a37..a1e0e03 100755
> --- a/cli.py
> +++ b/cli.py
> @@ -768,6 +768,8 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
>             return uret
>
>         for txmbr in txmbrs:
> +            for rtxmbr, T in txmbr.relatedto:
> +                ret += _pkg2ups(rtxmbr)
>             ret += _pkg2ups(txmbr.po)
>
>         return ret
> --
> 1.7.6
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>

ACK


More information about the Yum-devel mailing list