[Bug 266743] Describe how to install non-base packages that are in -dvd1.iso (in release documentation and the FreeBSD Handbook)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Oct 2025 00:58:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266743

--- Comment #7 from Graham Perrin <grahamperrin@gmail.com> ---
Created attachment 264225
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264225&action=edit
Screenshot: trial and error (no success) with env(1), so I use a
freebsd-installer repository configuration

FreeBSD-15.0-ALPHA4-amd64-20250927-d2b670b27f37-280334-dvd1.iso

In the FreeBSD Installer live system, after installation of the OS: 

* I can not figure out how to use env(1).

Instead, I added a repo configuration: 

freebsd-installer

– to: 

/etc/pkg/FreeBSD.conf

----

Script started on Thu Oct  2 01:53:46 2025
root@latest:~ # pkg repos -el | sort -f
FreeBSD-base
freebsd-installer
FreeBSD-ports
FreeBSD-ports-kmods
root@latest:~ # file /usr/local/etc/pkg/repos/FreeBSD.conf
/usr/local/etc/pkg/repos/FreeBSD.conf: cannot open
`/usr/local/etc/pkg/repos/FreeBSD.conf' (No such file or directory)
root@latest:~ # pkg repos freebsd-installer
freebsd-installer: { 
    url             : "file:///dist/packages/FreeBSD:15:amd64",
    enabled         : yes,
    priority        : 0
  }
root@latest:~ # tail -n 5 /etc/pkg/FreeBSD.conf
}
freebsd-installer {
  url = "file:///dist/packages/${ABI}"
  enabled = yes
}
root@latest:~ # mount | grep cd
/dev/iso9660/15_0_ALPHA4_AMD64_DVD on / (cd9660, local, read-only)
root@latest:~ # freebsd-version -kru ; uname -mvKU
15.0-ALPHA4
15.0-ALPHA4
15.0-ALPHA4
FreeBSD 15.0-ALPHA4 stable/15-n280334-d2b670b27f37 GENERIC amd64 1500064
1500064
root@latest:~ # exit

Script done on Thu Oct  2 01:55:25 2025

-- 
You are receiving this mail because:
You are on the CC list for the bug.