Package: dpkg
Version: 1.18.3
Severity: wishlist
Dear Guillem,
it's rather tedious to find the correct "Architecture:" value for a
binary package if only one or two architectures need to be excluded.
As I don't want to list all architectures listed by "dpkg-architecture
-L", I had to use
dpkg-architecture -L | fgrep -- - | awk -F- '{print "any-"$2}' | sort -u
to get an idea, which any-… wildcards probably exist. I then run into
the fact that neither any-armhf nor any-armel exist -- thanks to Lintian
for making me aware of.
I suggest to use "--list-known-wildcards" and "-w" as commandline
options for this list.
Thanks in advance for considering!
For the sake of completeness:
I had to exclude the arm64 architecture. (Details are in
https://bugs.debian.org/805532)
So I first made sure, that any-arm doesn't match arm64, too:
dpkg-architecture -L -W 'any-arm' | fgrep arm64
To get the final list I also needed the architectures which are
platform-specific.
diff <(dpkg-architecture -L | fgrep -- - | awk -F- '{print $2}' | sort -u)
<(dpkg-architecture -L | fgrep -v -- - | sort -u)
helped here to find mipsn32, mipsn32el, powerpcspe and x32.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (111, 'buildd-unstable'),
(111, 'buildd-experimental'), (110, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.6-8
ii libc6 2.21-3
ii liblzma5 5.1.1alpha+20120614-2.1
ii libselinux1 2.4-3
ii tar 1.28-2.1
ii zlib1g 1:1.2.8.dfsg-2+b1
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 1.1.3
-- no debconf information