consider priorities only for downloadable pkgs in resolver
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 11 Apr 2014 11:33:31 +0000 (13:33 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 11 Apr 2014 11:45:52 +0000 (13:45 +0200)
commit4cd4a2e7033a2af214be1d830b56fab719088b7a
treec6359851a4367052316bf82f08dd4d5d1abd9b30
parentf7feb041e8d8dac5fac3c6cd44c8108e12ea4cd6
consider priorities only for downloadable pkgs in resolver

A package which can't be downloaded anymore is very likely dropped from
a release and can therefore no longer be 'standard' (or similar). We
therefore do not grant points for them anymore and demote them to
prio:extra instead which helps other packages breaking them away even if
they have a lower priority.

The testcase was initially created by Michael Vogt and just amended.
apt-pkg/algorithms.cc
test/integration/test-ubuntu-bug-1304403-obsolete-priority-standard [new file with mode: 0755]