* apt-pkg/depcache.cc:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 22 Nov 2011 23:49:45 +0000 (00:49 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 22 Nov 2011 23:49:45 +0000 (00:49 +0100)
commit2b5c35c7bb915dbd46fefd7c79f05364ba22f93b
tree375bbed9c1e43ca06670dfa9cd66a2ca203c2336
parent63b70b21c8416351cd5be9bf8dcf939ffe94079e
* apt-pkg/depcache.cc:
  - prefer native providers over foreigns even if the chain is foreign

The code preferred real over virtual packages and based on priorities.
This is changed in so far that a real package from any arch is preferred
over any virtual provider and if priorities doesn't help in choosing the
best provider we choose it based on architectures
apt-pkg/depcache.cc
apt-pkg/pkgcache.h
debian/changelog
test/integration/test-multiarch-foreign [new file with mode: 0755]