From: Zac Medico Date: Tue, 30 May 2006 08:23:16 +0000 (-0000) Subject: Add some helpful troubleshooting tips to the depclean warning message. X-Git-Tag: v2.1~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=501eaed99af41815e366a782b840eb868685a990;p=portage.git Add some helpful troubleshooting tips to the depclean warning message. svn path=/main/trunk/; revision=3441 --- 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 `")+"." 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 /etc/portage`")+"." + print red("*** WARNING ***") print red("*** WARNING ***")+" "+bold("Make sure you have a backup.") syslist=getlist("system")