]> git.saurik.com Git - apt.git/commit
Fix SmartConfigure to ignore ordering of packages that are already valid
authorMichael Vogt <mvo@ubuntu.com>
Tue, 29 Jul 2014 13:01:13 +0000 (15:01 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Tue, 29 Jul 2014 13:07:06 +0000 (15:07 +0200)
commit2f58969150b0daec1de407f61385ccf5b2065aa3
tree1ae085c7efadf7b0d11c6c8811578f000199fbc9
parentd0554dd323752bf04735aac189d8e9fa713e30cc
Fix SmartConfigure to ignore ordering of packages that are already valid

With the change of SmartConfigure() in git commit 42d51f the ordering
code was trying to re-order dependencies, even when at this point in
time this was not needed. Now it will first check all targets of the
given dependency and only if there is not a good one try to reorder
and unpack/configure as needed.

Closes: LP: #1347721
apt-pkg/packagemanager.cc
test/integration/Packages-bug-lp1347721-dpkg-ordering [new file with mode: 0644]
test/integration/status-bug-lp1347721-dpkg-ordering [new file with mode: 0644]
test/integration/test-bug-lp1347721-dpkg-ordering [new file with mode: 0755]