From e2fa19d6c7c0ce338199a2ea535cc55c1a48a313 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 9 Oct 2007 11:07:33 +0000 Subject: [PATCH] In depgraph.xcreate(), installed packages are excluded from the filtered tree. Clear out the history of atoms so that they can be processed again to satisfy dependencies with installed packages if necessary. svn path=/main/trunk/; revision=8013 --- pym/emerge/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 8f9e6307d..18bc8f443 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -2863,6 +2863,11 @@ class depgraph(object): for myatom in mylist: self._set_atoms.add(myatom) + # Since populate_filtered_repo() was called with the exclude_installed + # flag, these atoms will need to be processed again in case installed + # packages are required to satisfy dependencies. + self._filtered_trees[self.target_root]["atoms"].clear() + missing_atoms = [] for mydep in mylist: try: -- 2.26.2