From 58788855b7eeca65bcb3cbc9ae83c7ba9b727733 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 27 Apr 2008 20:15:57 +0000 Subject: [PATCH] Never uninstall sys-apps/portage except through replacement. svn path=/main/trunk/; revision=10003 --- pym/_emerge/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index e853d8fb8..534c13a13 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3553,6 +3553,10 @@ class depgraph(object): continue if "/" == task.root: + # Never uninstall sys-apps/portage + # except through replacement. + if "sys-apps/portage" == task.cp: + continue # For packages in the system set, don't take # any chances. If the conflict can't be resolved # by a normal replacement operation then abort. -- 2.26.2