From: Zac Medico Date: Thu, 20 May 2010 23:45:24 +0000 (-0700) Subject: Make the non --update package selection logic avoid installed packages if X-Git-Tag: v2.2_rc68~591 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4097bd5e52c9c546a6092b8ed5c0d918320a054;p=portage.git Make the non --update package selection logic avoid installed packages if they are masked. Thanks to Daniel Robbins for reporting. --- 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(