summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-09 11:07:33 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-09 11:07:33 +0000
commite2fa19d6c7c0ce338199a2ea535cc55c1a48a313 (patch)
tree6943a41fda56e588f940651563c86b33cc945371 /pym
parent6e6d7fcf8321d31bddbd37823b310b50658bed95 (diff)
downloadportage-e2fa19d6c7c0ce338199a2ea535cc55c1a48a313.tar.gz
portage-e2fa19d6c7c0ce338199a2ea535cc55c1a48a313.tar.bz2
portage-e2fa19d6c7c0ce338199a2ea535cc55c1a48a313.zip
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
Diffstat (limited to 'pym')
-rw-r--r--pym/emerge/__init__.py5
1 files changed, 5 insertions, 0 deletions
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: