RE: Re: Why pkg(8) is NOT bootstrapped in PKGBASE install by default?

From: Mark Millard <marklmi_at_yahoo.com>
Date: Tue, 16 Sep 2025 23:57:31 UTC
Colin Percival <cperciva_at_tarsnap.com> wrote on
Date: Tue, 16 Sep 2025 22:23:26 UTC :

> On 9/16/25 15:16, vermaden wrote:
> > I just made an 'offline' installation of FreeBSD 15.0-ALPHA2 with these options selected:
> > - Use PKGBASE.
> > - Do 'Offline' install.
> > - Auto ZFS with Partition Scheme: GPT (BIOS+UEFI)
> > - Add '+lib32' to wanted sets.
> > 
> > After reboot I want to see what PKGBASE packages are installed (and maybe remove some of them) but I am not able to because pkg(8) is not bootstrapped ... why? This is OFFLINE installation. These are bad defaults.
> > 
> > root@A2:~ # pkg info
> > The package management tool is not yet installed on your system.
> > Do you want to fetch and install it now? [y/N]:
> 
> I'm planning on adding pkg to the pkgbase repository on disc1 and dvd1.


The various FreeBSD-15.0-*-*-*-*-*[0-9]-memstick.img* (when the
FreeBSD file system in it is mounted) also each contain ( based
on mounting to /mnt/ ):

# cat  /mnt/usr/freebsd-packages/repos/FreeBSD-base-offline.conf
FreeBSD-base: {
  url: "file:///usr/freebsd-packages/offline",
  enabled: yes
}

and various appropriate:

/mnt/usr/freebsd-packages/offline/*

So: memstick too?


===
Mark Millard
marklmi at yahoo.com