summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-05-30 08:23:16 +0000
committerZac Medico <zmedico@gentoo.org>2006-05-30 08:23:16 +0000
commit501eaed99af41815e366a782b840eb868685a990 (patch)
treea95c3bfebf72438818b2a00258add15a6d11ed85
parentFix prepstrip so that it properly distiguishes between stripped and unstrippe... (diff)
downloadportage-501eaed99af41815e366a782b840eb868685a990.tar.gz
portage-501eaed99af41815e366a782b840eb868685a990.tar.bz2
portage-501eaed99af41815e366a782b840eb868685a990.zip
Add some helpful troubleshooting tips to the depclean warning message.
svn path=/main/trunk/; revision=3441
-rwxr-xr-xbin/emerge6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 2b2a72fcb..ae3dfeb98 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3256,6 +3256,12 @@ elif "depclean"==myaction:
print red("*** WARNING ***")+" obvious mistakes. Packages can be manually added to the"
print red("*** WARNING ***")+" world list by running "+green("`emerge --noreplace <atom>`")+"."
print red("*** WARNING ***")
+ print red("*** WARNING ***")+" It is normal for packages that are masked or listed in package.provided"
+ print red("*** WARNING ***")+" to be removed by depclean. These are the most likely reasons that"
+ print red("*** WARNING ***")+" depclean will remove a package even though it is in the world or system"
+ print red("*** WARNING ***")+" package set. In order to troubleshoot these types of problems, it is"
+ print red("*** WARNING ***")+" often helpful to look at the output of "+green("`grep -r <atom> /etc/portage`")+"."
+ print red("*** WARNING ***")
print red("*** WARNING ***")+" "+bold("Make sure you have a backup.")
syslist=getlist("system")