summaryrefslogtreecommitdiffstats
path: root/pym/portage/output.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-23 22:37:51 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-23 22:37:51 +0000
commita19db51e60c06f1624c1b9e0c5560265769d5404 (patch)
tree551c599e852fa9b2cbc59ec2a8a937de9462cd0c /pym/portage/output.py
parent06ad727ea61ba165fc01ba0e61148fe5779050f4 (diff)
downloadportage-a19db51e60c06f1624c1b9e0c5560265769d5404.tar.gz
portage-a19db51e60c06f1624c1b9e0c5560265769d5404.tar.bz2
portage-a19db51e60c06f1624c1b9e0c5560265769d5404.zip
Bug #172812 - Automatically uninstall packages to avoid blocker conflicts.
The intention is to only uninstall packages that would be removed by --depclean (after the updates) anyway. To prevent automatic uninstallation of packages that the user probably wants to keep, the following types of packages will not be automatically unmerged: * Installed packages that have been pulled into the current dependency graph. Note that this check is not necessarily complete unless the --complete-graph option is enabled, making other sanity checks necessary. * Installed packages matched by atoms from the system set. For safety, these are unmerged after being replaced by another version. * Installed packages matched by atoms from the world set, if there is no matching replacement in the current dependency graph. svn path=/main/trunk/; revision=9946
Diffstat (limited to 'pym/portage/output.py')
-rw-r--r--pym/portage/output.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py
index c491897f4..5c2c2b662 100644
--- a/pym/portage/output.py
+++ b/pym/portage/output.py
@@ -151,6 +151,7 @@ codes["MERGE_LIST_PROGRESS"] = codes["yellow"]
codes["PKG_MERGE"] = codes["darkgreen"]
codes["PKG_MERGE_SYSTEM"] = codes["darkgreen"]
codes["PKG_MERGE_WORLD"] = codes["green"]
+codes["PKG_UNINSTALL"] = codes["red"]
codes["PKG_NOMERGE"] = codes["darkblue"]
codes["PKG_NOMERGE_SYSTEM"] = codes["darkblue"]
codes["PKG_NOMERGE_WORLD"] = codes["blue"]