diff options
author | David Kalnischkies <david@kalnischkies.de> | 2020-05-22 19:52:26 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2020-05-23 17:58:42 +0200 |
commit | 4d87856b94dae1a40a1a8147a6dbcfe714cd05c7 (patch) | |
tree | 593f193b6abd0eefcbf7737c40e9e5cb66ce93a9 /test | |
parent | 04a020d7a217d6b5af86c048c2974760053b8079 (diff) |
Known-bad candidate versions are not an upgrade option
If we have a negative dependency to deal with we prefer to install an
upgrade rather than remove the current version. That is why we split the
method rather explicitly in two in 57df273 but there is a case we didn't
react to: If we have seen the candidate before as a "satisfier" of this
negative dependency there is no point in trying to upgrade to it later
on. We keep that info by candidate discard if we can, but even if we
can't we can at least keep that info around locally.
This "fixes" (or would hide) the problem described in 04a020d as well as
you don't have to discard installations you never make.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions