From: Zac Medico Date: Sun, 27 Apr 2008 20:15:57 +0000 (-0000) Subject: Never uninstall sys-apps/portage except through replacement. X-Git-Tag: v2.2_pre6~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=58788855b7eeca65bcb3cbc9ae83c7ba9b727733;p=portage.git Never uninstall sys-apps/portage except through replacement. svn path=/main/trunk/; revision=10003 --- 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.