[yum-commits] Branch 'yum-3_2_X' - yummain.py

James Antill james at osuosl.org
Sun Mar 1 21:08:08 UTC 2009


 yummain.py |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 54e174424690bbab4cf8beb34fffdb320934e1fe
Author: James Antill <james at and.org>
Date:   Sun Mar 1 16:08:01 2009 -0500

    Output a message about ways forward, when depsolving fails

diff --git a/yummain.py b/yummain.py
index f3639a6..cb4185b 100755
--- a/yummain.py
+++ b/yummain.py
@@ -234,6 +234,10 @@ def main(args):
         # Fatal error
         for msg in resultmsgs:
             logger.critical(_('Error: %s'), msg)
+        if not base.conf.skip_broken:
+            verbose_logger.info(_(" You could try using --skip-broken to work around the problem"))
+        verbose_logger.info(_(" You could try running: package-cleanup --problems\n"
+                              "                        package-cleanup --dupes"))
         if unlock(): return 200
         return 1
     elif result == 2:


More information about the Yum-commits mailing list