Bug#1128325: dpkg-scanpackages --arch=amd64 should ignore "arch-all" packages

Gioele Barabucci <[email protected]> Thu, 19 Feb 2026 10:12:56 +0100
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <30a0fbe6-ba8e-41ef-bb21-b7144ac8b683__25204.7965813958$1771492539$gmane$org@svario.it>
Control: tags -1 patch

On 19/02/26 03:47, Guillem Jover wrote:
>> Could `--arch=foo` be modified to mean "strictly foo, without all"?
>> Alternatively could a new option like `--arch-strict=foo` be
>> introduced, if you believe that the old behavior should not change?
> 
> I don't think changing the semantics for --arch would be correct, as
> this is how it has been documented, and how people have relied on this
> option working. Instead I've added a new --no-implicit-arch option,
> which removes the implicit addition of the arch-all packages, so then
> you can run twice with --arch=foo and then --arch=all for example.

Thanks!

If I am allowed to bikeshed a bit, as a user I'd find

     --no-implicit-arch-all

or

     --no-implicit-archs

more explicit and easier to spot when looking for that kind of change of 
semantics. (Inner dialogue: "no implicit arch? which arch is implicit?".)

Regards,