I have created a patch for solving this issue.

https://bugzilla.redhat.com/show_bug.cgi?id=360291

Can anybody see any problems with the patch.

Tim
>From 34e04ceca6d5ac6ef6c1112efc1e8b6b837e4eeb Mon Sep 17 00:00:00 2001
From: Tim Lauridsen <[EMAIL PROTECTED]>
Date: Wed, 7 Nov 2007 19:57:38 +0100
Subject: [PATCH] Fix for the depsolver going into endless loop, in rare situations big transaction with lot of local packages (rhbz #360291)

---
 yum/depsolve.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/yum/depsolve.py b/yum/depsolve.py
index cde96f1..0455b09 100644
--- a/yum/depsolve.py
+++ b/yum/depsolve.py
@@ -484,7 +484,8 @@ class Depsolve(object):
             if pkgmode in ['i', 'u']:
                 self.verbose_logger.log(logginglevels.DEBUG_2,
                     '%s already in ts, skipping this one', n)
-                checkdeps = 1
+                # FIXME: Remove this line, if it is not needed ?
+                # checkdeps = 1
                 return checkdeps, missingdep
         
 
-- 
1.5.3.4

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to