---
 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
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to