From 5fb13528549d4b47bd807b3824405a231e596549 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 3 Jan 2011 00:55:38 -0800 Subject: depgraph: fix bug #350254 and test it --- pym/_emerge/depgraph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym/_emerge') diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index f62af31b8..a167b452f 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2871,7 +2871,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 -- cgit v1.2.3-1-g7c22