From e8e5d464623f1c2e1ef96b14e622728bbf4b89af Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 20 Jul 2016 09:03:09 +0200 Subject: 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 --- test/integration/test-sourceslist-arch-plusminus-options | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/integration/test-sourceslist-arch-plusminus-options') diff --git a/test/integration/test-sourceslist-arch-plusminus-options b/test/integration/test-sourceslist-arch-plusminus-options index 0ce4aa9f1..fdf33cc8c 100755 --- a/test/integration/test-sourceslist-arch-plusminus-options +++ b/test/integration/test-sourceslist-arch-plusminus-options @@ -89,3 +89,6 @@ testbinaries 'substract all from arch-set' 'i386' echo 'deb [arch=i386 arch+=all] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list testbinaries 'useless addition of all' 'i386' 'all' + +echo 'deb [arch=all] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list +testbinaries 'explicit all' 'all' -- cgit v1.2.3