Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Mar 2023 16:33:36 +1100
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Dan Langille <dan@langille.org>
Cc:        questions@freebsd.org
Subject:   Re: How do I determine the ABI string used by pkg?
Message-ID:  <1900BC4E-A5EE-4BC1-9409-2EFA5E8E227A@nimnet.asn.au>
In-Reply-To: <3edcd50d-18de-4cd6-82e6-9d9014ab0aae@app.fastmail.com>
References:  <32d2e376-3f89-0588-316d-801d4cbf0b44@bluerosetech.com> <20230306075622.xfzs33fmflc2vmtb@aniel.nours.eu> <257260d9-1812-3ce5-5d9a-907e2b1ec13e@langille.org> <61D4795C-9A44-4956-9D95-2114D1C9F5AD@nimnet.asn.au> <3edcd50d-18de-4cd6-82e6-9d9014ab0aae@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8 March 2023 7:23:04 am AEDT, Dan Langille <dan@langille=2Eorg> wrote:
 > On Tue, Mar 7, 2023, at 3:03 PM, Ian Smith wrote:

[=2E=2E=2E]

 > > Dan, could you confirm whether the first one also installed pkg(8),
 > so=20
 > > subsequent 'pkg info' would show (only) pkg?
 >=20
 > Please ignore my testing=2E It was invalid and did not have the correct
 > configuration=2E
 >=20
 > Sorry=2E I did not set 'path =3D ' in my jail - I think it was using th=
e
 > host=2E

At least we're all a bit confused :)

 > The above mentioned commands all attempt to install pkg when run in=20
 > a properly configured jail=2E
 >=20
 > root@empty_tester:/ # hostname
 > empty_tester=2Eint=2Eunixathome=2Eorg
 > root@empty_tester:/ # pkg info -l
 > The package management tool is not yet installed on your system=2E
 > Do you want to fetch and install it now? [y/N]: n
 > root@empty_tester:/ # pkg config ABI
 > The package management tool is not yet installed on your system=2E
 > Do you want to fetch and install it now? [y/N]: n=20
 > root@empty_tester:/ #=20

 > > If so, would 'pkg -N config ABI' have done the same?  Or failed?=20
 > > Or shown the ABI?
 >=20
 > root@empty_tester:/ # pkg -N config ABI
 > pkg: pkg is not installed
 > root@empty_tester:/ # c
=20
 > > That is - given that pkg(7) must know $ABI to resolve url: in=20
 > > Whatever=2Econf to install pkg(8) - is it necessary to bootstrap pkg
 > to=20
 > > determine ABI via pkg(7)?
 >=20
 > Yes, I think it is, based on my testing so far=2E

Thanks for confirmation=2E

cheers, Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1900BC4E-A5EE-4BC1-9409-2EFA5E8E227A>