In depgraph.xcreate(), installed packages are excluded
authorZac Medico <zmedico@gentoo.org>
Tue, 9 Oct 2007 11:07:33 +0000 (11:07 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 9 Oct 2007 11:07:33 +0000 (11:07 -0000)
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

index 8f9e6307da6bb1b23e3faedef6ea3a06b2e5f12d..18bc8f443ceb201d2d802dccfec50a0efa85b4e9 100644 (file)
@@ -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: