From f4097bd5e52c9c546a6092b8ed5c0d918320a054 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 May 2010 16:45:24 -0700 Subject: [PATCH] Make the non --update package selection logic avoid installed packages if they are masked. Thanks to Daniel Robbins for reporting. --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index ecc321c05..c102a7a2d 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2715,7 +2715,7 @@ class depgraph(object): if avoid_update: for pkg in matched_packages: - if pkg.installed: + if pkg.installed and pkg.visible: return pkg, existing_node bestmatch = portage.best( -- 2.26.2