From 177a4ac82f3d2bef88dc1ac193373b6b6a23a953 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 3 Jan 2011 01:01:54 -0800 Subject: [PATCH] depgraph: merge some logic from bug #350254 --- pym/_emerge/depgraph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index b3f9984cd..8ea9c8bbf 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2841,7 +2841,8 @@ class depgraph(object): modified_use=self._pkg_use_enabled(pkg)): continue - if dont_miss_updates: + if packages_with_invalid_use_config and \ + (not pkg.installed or dont_miss_updates): # Check if a higher version was rejected due to user # USE configuration. The packages_with_invalid_use_config # list only contains unbuilt ebuilds since USE can't -- 2.26.2