]> git.saurik.com Git - apt.git/commit
Fix bug where the problemresolve can put a pkg into a heisenstate
authorMichael Vogt <mvo@ubuntu.com>
Tue, 15 Mar 2016 12:13:54 +0000 (13:13 +0100)
committerJulian Andres Klode <jak@debian.org>
Tue, 15 Mar 2016 17:55:02 +0000 (18:55 +0100)
commit0390edd5452b081f8efcf412f96d535a1d959457
tree51ac5fe01a309f4f59b3bb639bc9b2fc1176a416
parent07ea3af0fe55fdfe976ab847c5c88efd703d1282
Fix bug where the problemresolve can put a pkg into a heisenstate

The problemresolver will set the candidate version for pkg P back
to the current version if it encounters an impossible to satisfy
critical dependency on P. However it did not set the State of
the package back as well which lead to a situation where P is
neither in Keep,Install,Upgrade,Delete state.

Note that this can not be tested via the traditional sh based
framework. I added a python-apt based test for this.

LP: #1550741

[jak@debian.org: Make the test not fail if apt_pkg cannot be
 imported]
.travis.yml
apt-pkg/depcache.cc
debian/tests/control
test/integration/framework
test/integration/test-bug-lp1550741-heisestate [new file with mode: 0755]