diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-05-30 08:23:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-05-30 08:23:16 +0000 |
commit | 501eaed99af41815e366a782b840eb868685a990 (patch) | |
tree | a95c3bfebf72438818b2a00258add15a6d11ed85 | |
parent | 346e3f558b6c60106558c892ca215cd8462266fd (diff) | |
download | portage-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-x | bin/emerge | 6 |
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") |