On Sat, May 8, 2010 at 11:55 PM, James Antill <ja...@and.org> wrote:

> ---
>  yum/depsolve.py |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/yum/depsolve.py b/yum/depsolve.py
> index eb47587..3819026 100644
> --- a/yum/depsolve.py
> +++ b/yum/depsolve.py
> @@ -521,8 +521,9 @@ class Depsolve(object):
>         # find the best one
>
>         # try updating the already install pkgs
> +        results = []
>         for pkg in provSack.returnNewestByName():
> -            results = self.update(requiringPo=requiringPo, name=pkg.name,
> +            tresults = self.update(requiringPo=requiringPo, name=pkg.name
> ,
>                                   epoch=pkg.epoch, version=pkg.version,
>                                   rel=pkg.rel)
>             #  Note that this does "interesting" things with multilib. We
> can
> @@ -533,6 +534,7 @@ class Depsolve(object):
>             # fails.
>             #  Keeping results through the loop and thus. testing each pkg
>             # against all txmbr's from previous runs "fixes" this.
> +            results.extend(tresults)
>             for txmbr in results:
>                 if pkg == txmbr.po:
>                     checkdeps = True
> --
> 1.7.0.1
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel@lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>

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

Reply via email to