From: Zac Medico Date: Tue, 29 Apr 2008 03:02:20 +0000 (-0000) Subject: Prevent some more visible downgrades from possibly being missed (bug #219369). X-Git-Tag: v2.2_pre6~81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b5275ed490c41dc8fe5230acf5c8ddbf8950838;p=portage.git Prevent some more visible downgrades from possibly being missed (bug #219369). svn path=/main/trunk/; revision=10034 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 2ed6474ce..4db340342 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2786,7 +2786,10 @@ class depgraph(object): # Make --noreplace take precedence over --newuse. if not installed and noreplace and \ cpv in vardb.match(atom): - break + # If the installed version is masked, it may + # be necessary to look at lower versions, + # in case there is a visible downgrade. + continue reinstall_for_flags = None cache_key = (pkg_type, root, cpv, pkg_status) calculated_use = True