[Yum-devel] [PATCH 4/4] Check the installed pkg. before the remote one, so we get deps. tree right.

James Antill james at and.org
Tue Aug 23 18:44:39 UTC 2011


---
 cli.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cli.py b/cli.py
index 9c89a37..a1e0e03 100755
--- a/cli.py
+++ b/cli.py
@@ -768,6 +768,8 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
             return uret
 
         for txmbr in txmbrs:
+            for rtxmbr, T in txmbr.relatedto:
+                ret += _pkg2ups(rtxmbr)
             ret += _pkg2ups(txmbr.po)
 
         return ret
-- 
1.7.6



More information about the Yum-devel mailing list