Instead of doing automatic uninstalls in advance, install conflicting
authorZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 08:18:10 +0000 (08:18 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 08:18:10 +0000 (08:18 -0000)
commit03e0b243240ab69425055c3192243f20c89d0d89
treeef2a978abc55c625303a1120c54ebc0216e4a1ca
parent5d8c30432f3c60c1f14fa6328689b8f489276062
Instead of doing automatic uninstalls in advance, install conflicting
packages first and then do the uninstall afterwards. This requires
special handling for file collisions occur, but it's preferred
because it ensures that package files remain installed in a usable
state whenever possible.

When file collisions occur between conflicting packages, the contents
entries for those files are removed from the packages that are
scheduled for uninstallation. This prevents uninstallation operations
from removing overlapping files that have been claimed by conflicting
packages.

(trunk r10225)

svn path=/main/branches/2.1.2/; revision=10227
bin/emerge
doc/dependency_resolution/task_scheduling.docbook
pym/portage.py