summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index c2384234c..804afb3f7 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -9271,7 +9271,10 @@ class Scheduler(PollScheduler):
graph = self._digraph
- for node in self._mergelist:
+ # Iterate over all nodes rather than just the merge list, because
+ # some uninstall nodes may not be in the merge list since they will
+ # be performed as part of an upgrade within a slot.
+ for node in graph.all_nodes():
if not isinstance(node, Package) or \
node.operation != "uninstall":
continue