From: Zac Medico Date: Tue, 9 Oct 2007 11:07:33 +0000 (-0000) Subject: In depgraph.xcreate(), installed packages are excluded X-Git-Tag: v2.2_pre1~676 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e2fa19d6c7c0ce338199a2ea535cc55c1a48a313;p=portage.git 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 --- 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: