diff options
-rw-r--r-- | pym/emerge/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 63146e93a..596320a92 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -1944,7 +1944,8 @@ class depgraph(object): for db, pkg_type, built, installed, db_keys in dbs: if existing_node: break - if installed and (matched_packages or empty): + if installed and not find_existing_node and \ + (matched_packages or empty): # We only need to select an installed package here # if there is no other choice. continue |