Hi, On 06/04/2014 03:41 AM, Guillem Jover wrote: > Hi! > > On Sun, 2014-05-25 at 22:04:48 +0200, Bernhard R. Link wrote: >> * Johannes Schauer <j.scha...@email.de> [140522 13:30]: >>> Debian policy 11.1.1 [1] and the associated footnote [2] allow >>> architecture wildcards of the form os-any and any-cpu. Apt seems to >>> equal "cpu" with "debian architecture" which is not correct. Here is an >>> example of correct matching: >>> >>> dpkg-architecture -aarmhf -iany-arm && echo "any-arm matches armhf" ... > * Other programs could “easily” use dpkg-architecture to check for > identity or a match. (This poses problems for programs that do not I think making apt call dpkg-architecture for matching would be a good way of ensuring consistency with dpkg. Caching the results in a hash table would make matching even faster than it is currently.
Cheers, Balint