Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 14:52:05 +0200
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        freebsd-ports@freebsd.org
Subject:   pkg query %q: abi vs. arch
Message-ID:  <778bbd93-223b-d9a7-2789-de618d725330@gmx.net>

next in thread | raw e-mail | index | archive | help
pkg query doesn't work as expected:

#pkg query -e '%q = freebsd:10:x86:64' '%o: %q'
<nothing found>
# pkg query -e '%q = FreeBSD:10:amd64' '%o: %q'
dns/adns: freebsd:10:x86:64
...

It seems '%q' means abi for evaluations, but arch for queries.
# pkg info -R adns
...
abi = "FreeBSD:10:amd64";
arch = "freebsd:10:x86:64";
...

According to the man page it should be Architecture in both cases.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?778bbd93-223b-d9a7-2789-de618d725330>