Re: invalid and duplicate architectures
On Fri, May 23, 2014 at 10:00 PM, Johannes Schauer wrote:
> Most common invalid architectures:
Several of these are in the dpkg cpu table or the dpkg os table so I
don't think they are invalid architectures. Some of them are even real
new ports for Debian or current or historical internal or external
ports for Debian and our derivatives.
> In my code I counted all debian architectures as "valid" which are listed on
> packages.debian.net. Is there a better way to retrieve "valid" architectures in
> this context?
Dpkg::Arch::get_valid_arches, which looks at /usr/share/dpkg/*table