do not revert candidate for protected packages
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 7 Jun 2014 20:46:37 +0000 (22:46 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 7 Jun 2014 20:46:37 +0000 (22:46 +0200)
commite41d3d7e25754f858b6dfe4dd841f4749f7f3ab1
tree61be869ff07e7e8fc13a3b87ccecb1391818dd4d
parent4c10a0b81341219e243a40e366b269ccc887b15e
do not revert candidate for protected packages

In commit 21b3eac8 I promoted the check for installable dependencies to
a pre-install check, which also reverts to a known good candidate (the
installed version) if it fails. This revert was done even for user
requested candidate switches which disabled our Broken detection so that
install requests which are impossible to satisfy do not fail anymore,
but print an (incomplete) solution proposal and then exit successfully.

Closes: 745046
apt-pkg/depcache.cc
test/integration/test-bug-745046-candidate-propagation-fails [new file with mode: 0755]