]> git.saurik.com Git - apt.git/commit
allow arch=all to override No-Support-for-Architecture-all
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 20 Jul 2016 07:03:09 +0000 (09:03 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 22 Jul 2016 14:04:36 +0000 (16:04 +0200)
commite8e5d464623f1c2e1ef96b14e622728bbf4b89af
treef6fbf65515d407298d03b6584529f0d990f16739
parent36d5299aacb950aeb8cb117fa603abb21643d844
allow arch=all to override No-Support-for-Architecture-all

If a user explicitly requests the download of arch:all apt shouldn't get
in the way and perform its detection dance if arch:all packages are
(also) in arch:any files or not.

This e.g. allows setting arch=all on a source with such a field (or one
which doesn't support all at all, but has the arch:all files like Debian
itself ATM) to get only the arch:all packages from there instead of
behaving like a no-op.

Reported-By: Helmut Grohne on IRC
apt-pkg/acquire-item.cc
apt-pkg/deb/debmetaindex.cc
test/integration/test-acquire-binary-all
test/integration/test-apt-sources-deb822
test/integration/test-sourceslist-arch-plusminus-options