[yum-git] yum/depsolve.py

James Antill james at linux.duke.edu
Sat Feb 16 22:37:00 UTC 2008


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

New commits:
commit 29cbf227ce0943f0fd5d5ad8c9b18e02c84887a5
Author: James Antill <james at and.org>
Date:   Sat Feb 16 17:36:45 2008 -0500

    Convert the pkgtup back into a po, bug#433047

diff --git a/yum/depsolve.py b/yum/depsolve.py
index 735fddd..473fe66 100644
--- a/yum/depsolve.py
+++ b/yum/depsolve.py
@@ -738,7 +738,8 @@ class Depsolve(object):
             # it is useful when an update is breaking an require of an installed package
             # then we want to know who is causing the problem, not just who is having the problem. 
             if not txmbr.updates and txmbr.relatedto:
-                self._working_po = txmbr.relatedto[0][0]
+                tpos = self.tsInfo.getMembers(txmbr.relatedto[0][0])
+                self._working_po = tpos[0]
             else:
                 self._working_po = txmbr.po
            



More information about the Yum-cvs-commits mailing list