]> git.saurik.com Git - apt.git/commit
respect user pinning in M-A:same version (un)screwing
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 27 Apr 2016 17:39:02 +0000 (19:39 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 11 May 2016 08:46:11 +0000 (10:46 +0200)
commitcde24ec5f51681233a2c6f2f5b6c7d0432160681
tree7a38cce9ca844ebc2fdda63121dc20b23b493bbe
parent9d70773a207af6f7c4439ef14aae16cd20e88eca
respect user pinning in M-A:same version (un)screwing

Using Pkg.CandVersion() here is wrong as its implementation will return
a candidate based just on the default policy settings ignoring user
preferences and otherwise set candidates (aka: it sidesteps the
pkgDepCache).

This causes M-A:same libraries to be detected as screwed even through
they aren't, so that they end up being kept back.

Reported-By: Felipe Sateler on IRC
apt-pkg/depcache.cc
test/integration/test-prevent-markinstall-multiarch-same-versionscrew