[Yum-devel] [PATCH] Check for possible inf. recursion and workaround in skip-broken. BZ 874065
tim.lauridsen at gmail.com
tim.lauridsen at gmail.com
Tue Nov 13 15:06:14 UTC 2012
On Mon, Nov 12, 2012 at 8:39 PM, James Antill <james at and.org> wrote:
> ---
> yum/__init__.py | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/yum/__init__.py b/yum/__init__.py
> index 604ccce..6401645 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -1558,6 +1558,8 @@ much more problems).
> for txmbr in self.tsInfo.getMembers(dep.pkgtup):
> for pkg in (txmbr.updates + txmbr.obsoletes):
> toRemove.add(pkg)
> + if dep in toRemove: # If this is true we inf. recurse, so
> check
> + continue # even though it shouldn't happen.
> bz#874065
> toRemove.add(dep)
> self._getDepsToRemove(dep, deptree, toRemove)
>
> --
> 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/20121113/87d6e163/attachment.html>
More information about the Yum-devel
mailing list