diff options
-rw-r--r-- | pym/emerge/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 00ba5b6f2..7c9366dae 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -5449,14 +5449,17 @@ def action_depclean(settings, trees, ldpath_mtimes, print for atom in unresolveable: print atom, "required by", " ".join(unresolveable[atom]) - if unresolveable and action == "depclean": + if unresolveable: print print "Have you forgotten to run " + good("`emerge --update --newuse --deep world`") + " prior to" - print "depclean? It may be necessary to manually uninstall packages that no longer" + print "%s? It may be necessary to manually uninstall packages that no longer" % action print "exist in the portage tree since it may not be possible to satisfy their" print "dependencies. Also, be aware of the --with-bdeps option that is documented" print "in " + good("`man emerge`") + "." print + if action == "prune": + print "If you would like to ignore dependencies then use %s." % \ + good("--nodeps") return def show_parents(child_node): |