diff options
-rw-r--r-- | pym/_emerge/depgraph.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 69ba8b2cc..ca918e789 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2616,6 +2616,8 @@ class depgraph(object): # Make --noreplace take precedence over --newuse. if not pkg.installed and noreplace and \ cpv in vardb.match(atom): + inst_pkg = self._pkg(pkg.cpv, "installed", + root_config, installed=True) if inst_pkg.visible: # If the installed version is masked, it may # be necessary to look at lower versions, |