[Yum-devel] [PATCH 2/2] Fix circular obsoletes in transaction members check. BZ 868840.

tim.lauridsen at gmail.com tim.lauridsen at gmail.com
Tue Oct 30 06:13:26 UTC 2012


On Mon, Oct 29, 2012 at 3:08 PM, James Antill <james at and.org> wrote:

> ---
>  yum/depsolve.py |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/yum/depsolve.py b/yum/depsolve.py
> index 5e95662..a16f1f5 100644
> --- a/yum/depsolve.py
> +++ b/yum/depsolve.py
> @@ -911,6 +911,9 @@ class Depsolve(object):
>                              if otxmbr.output_state not in
> TS_INSTALL_STATES:
>                                  continue
>                              if otxmbr.po.obsoletedBy([txmbr.po]):
> +                                if txmbr.po.obsoletedBy([otxmbr.po]):
> +                                    # Have to deal with loops!
> +                                    continue
>                                  self.tsInfo.remove(otxmbr.pkgtup)
>                                  #  We need to remove an obsoleted entry
> that
>                                  # was maybe used to resolve something ...
> ?
> --
> 1.7.6.5
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>

 ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20121030/067cf02a/attachment.html>


More information about the Yum-devel mailing list