For bug #154919, when depclean is unable to resolve dependencies, notify the user...
authorZac Medico <zmedico@gentoo.org>
Mon, 13 Nov 2006 01:12:36 +0000 (01:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 13 Nov 2006 01:12:36 +0000 (01:12 -0000)
svn path=/main/trunk/; revision=5023

bin/emerge

index 570ac50243e9560e8740072a4e4e56d2f906cc50..4812859f703138ee8ea6fcc66afa3b9ee1600965 100755 (executable)
@@ -3903,7 +3903,10 @@ def action_depclean(settings, trees, ldpath_mtimes,
                for atom in unresolveable:
                        print atom, "required by", " ".join(unresolveable[atom])
                print
-               print "Have you forgotten to run " + good("`emerge --update --deep world`") + " prior to depclean?"
+               print "Have you forgotten to run " + good("`emerge --update --newuse --deep world`") + " prior to"
+               print "depclean?  It may also be necessary to manually uninstalled packages that no"
+               print "longer exist in the portage tree since it may not be possible to satisfy their"
+               print "dependencies."
                print
                return