Solved Install packages from the installer DVD

Here's a short version.
Have also added it as a summary at the top of post 25.
- - -

Run the newly installed OS, not the installer.
Insert the installer DVD, or USB stick thereof.
Log in as root, and run these commands.

Get the installer's /dev/ name (replace xxx below with it)
# gpart show

Mount the installer medium (MUST be on /dist/)
# mkdir /dist
# mount -t cd9660 /dev/xxx /dist

Upgrade pkg(7) to pkg(8)
# env REPOS_DIR=/dist/packages/repos/ pkg bootstrap -y

Alternative way to upgrade pkg(7) to pkg(8) (MUST use SINGLE quotes around the path)
# pkg add -y '/dist/packages/${ABI}/Latest/pkg.pkg'

Install a package from the DVD, as often as you want
# pkg -R /dist/packages/repos/ install pkgname

When you want to use the Internet for packages,
first upgrade/update everything, then use only the usual command:
# pkg install pkgname
After this, probably you should not use the DVD again, as package versions may not match.
 
HI, looking at the 15-Beta2 DVD that became downloadable an hour ago....

the /dist/packages/repos dir and
/dist/packages/repos/FreeBSD_install_cdrom.conf,
is not on the DVD ?

Is that intentional or not ?
is the repositorey config file somewere else on the dvd ?
 
Maybe v15 is different, maybe betas are different ?
I won't be getting any beta or rc DVD, so can't help you with that.

'/dist/' is only a mountpoint, it's not on the DVD.
Look around in the DVD and 'packages' should be in the root of it.

If 'packages' is not there, look for some other dir that contains
the files that you expect to find in 'packages' and 'packages/repos'.
If you find them, let us know where they are.

Most important, find the equivalent of
packages/repos/FreeBSD_install_cdrom.conf
because that's where the mount-point 'dist' was hard-coded.
Let us know if the required mount-point has changed.

Some of the files around there are symlinks (see my earlier posts in this thread).
If the directories have changed, symlinks will point to new paths,
and knowing those targets might also help.
 
Most important, find the equivalent of
packages/repos/FreeBSD_install_cdrom.conf
because that's where the mount-point 'dist' was hard-coded.
Let us know if the required mount-point has changed.

Some of the files around there are symlinks (see my earlier posts in this thread).
If the directories have changed, symlinks will point to new paths,
and knowing those targets might also help.
Hi,
the Packages are on DVD , but the offline repo configuration seems to be missing.
cant find any FreeBSD * cdrom * conf thing on the DVD.
except the repo definition for the offline base packages in
./usr/freebsd-packages/repos/FreeBSD-base-offline.conf
 
Hi, Issue was a build error of the 15.0-BETA2 DVD.
The repo config file was not copied to the DVD .
Assumed to be fixed in BETA3 next weekend.
 
Back
Top