From nobody Sun Mar 05 17:36:08 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PV85X41m3z3wjfG for ; Sun, 5 Mar 2023 17:36:32 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from h1.out2.mxs.au (h1.out2.mxs.au [110.232.143.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PV85X0ZjPz3NLy for ; Sun, 5 Mar 2023 17:36:31 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Authentication-Results: mx1.freebsd.org; none Received: from s121.syd3.hostingplatform.net.au (s121.syd3.hostingplatform.net.au [103.27.34.4]) by out2.mxs.au (Halon) with ESMTPS id 3a098174-bb7c-11ed-8a38-00163c1ebd60; Mon, 06 Mar 2023 04:36:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nimnet.asn.au; s=default; h=Message-ID:From:CC:To:Subject: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hrAr5XzciasQ0hjTM9MTwx0l1hNh2picoPBVEcdvsVU=; b=RpQScPSt/BnfwvZyotnRAEycRs px6YsY9eS7bOxoShmxo7KezYTfTN98/mEc4opN23v3GFwgBNv/adc8/WTKe6XkwQUfownPROlY0yl 5uHregcwFrKytsx1dfS8b5fGt7UKyzwgArT1KtGqqlHbrc0op6hX2lnTvuFt54JTvtWlqcjnU7a4R Vui8tlOlTgbT8Q/de9RuGfo2eq8DbLrAPCAX5Cj+TM4DZ6S9QLUE0W+FOrE3J5o/pIAuVD8DfZGok bGnKpE5jSxxXkiAKByKsQ7aC7W21w3pTqe+Gd4gw93AVzs2qnWwlnhxbfDtHx+M4c+S7fghn75irz di1VIwHg==; Received: from [1.144.245.252] (port=47509 helo=Galaxy-J5-Pro) by s121.syd3.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pYsHN-001xgK-2r; Mon, 06 Mar 2023 04:36:14 +1100 Date: Mon, 06 Mar 2023 04:36:08 +1100 User-Agent: K-9 Mail for Android In-Reply-To: References: <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <4DF870F0-89D5-45AA-B66C-93D2D1C0DD5E@nimnet.asn.au> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: How do I determine the ABI string used by pkg? To: Dan Langille CC: Mel Pilgrim ,questions@freebsd.org From: Ian Smith Message-ID: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s121.syd3.hostingplatform.net.au X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nimnet.asn.au X-Get-Message-Sender-Via: s121.syd3.hostingplatform.net.au: authenticated_id: smithi@nimnet.asn.au X-Authenticated-Sender: s121.syd3.hostingplatform.net.au: smithi@nimnet.asn.au X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4PV85X0ZjPz3NLy X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:45638, ipnet:110.232.140.0/22, country:AU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 6 March 2023 3:03:23 am AEDT, Dan Langille wrote: > Ian Smith wrote on 3/5/23 12:09 AM: > > On 2 March 2023 6:50:13 pm AEDT, Mel Pilgrim > wrote: > > > I need to determine the ABI string pkg uses on a given system, > and > > > need to do so when there are no pkgs installed=2E > > > > # pkg -N -vv | grep ABI > Will that install pkg "when there are no pkgs installed", the key=20 > requirement of the question? No; using 'pkg -N' when no packages are installed, /usr/sbin/pkg won't att= empt to bootstrap (i=2Ee=2E install pkg*=2Epkg as /usr/local/sbin/pkg) but = -vv still prints, here: ABI =3D "FreeBSD:12:amd64"; ALTABI =3D "FreeBSD:12:x86:64"; cheers, Ian (ports@ removed from ccs)