* apt-pkg/algorithms.cc:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 13 Aug 2010 12:41:55 +0000 (14:41 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 13 Aug 2010 12:41:55 +0000 (14:41 +0200)
commit09a10f9cd2661d28b2ff53d59a0936563cfe1cf7
treeccceca3d1efa8ec0b2f393ebe8c9fe39f9b317df
parent6cb1583a73d7f009f05f8a2b20a177fa31249241
* apt-pkg/algorithms.cc:
  - let the problem resolver install packages to fix or-groups
    as a needed remove nuked another or-member (helps for #591882)

The resolver sometimes need to break or-groups because he need to
remove the previous satisfier as a result of a breaks/conflicts.
In such broken or-groups he now tries to install a non-installed
non-deleted member of the or-group to statisfy it again.
This move is dangerous as it introduces the possibility of a
bunch of "new" broken breaks/conflicts on the new statisfier or
its dependencies and we don't know about them beforehand.
We also don't have the infrastructure to undo the decision later,
so we just do it and pray!

For now a test option is provided to disable this behavior on the
fly to test if the situation is worse: pkgProblemResolver::FixByInstall
apt-pkg/algorithms.cc
debian/changelog