Hello!
I have a box running FreeBSD-13, and I'd like to install FreeBSD-14 on another box, which has no internet connection. I don't have any PCs with FreeBSD-14 yet. I have no problem downloading installation image for the FreeBSD-14 base and making an installation flash stick. What I'm stuck with are the packages for the newer FreeBSD-14. I tried to download them with
but all I get is a message: "pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended" and no download ever happens. No matter whether I put "-a" option or a list of packages.
I haven't tried re-bootstrapping pkg to a FreeBSD-14 version as suggested in the warning message, since I cannot rule out possibility that it could break my current installation.
So the question is: How do I download all packages for a newer version of FreeBSD, given that I have no device running that newer version yet?
The contents of the files mentioned above is:
my_config_for14.conf
FreeBSD14.conf
I have a box running FreeBSD-13, and I'd like to install FreeBSD-14 on another box, which has no internet connection. I don't have any PCs with FreeBSD-14 yet. I have no problem downloading installation image for the FreeBSD-14 base and making an installation flash stick. What I'm stuck with are the packages for the newer FreeBSD-14. I tried to download them with
pkg \
-C my_config_for_14.conf \
fetch \
-r FreeBSD14 \
-o /path/to/package/dir \
-a
but all I get is a message: "pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended" and no download ever happens. No matter whether I put "-a" option or a list of packages.
I haven't tried re-bootstrapping pkg to a FreeBSD-14 version as suggested in the warning message, since I cannot rule out possibility that it could break my current installation.
So the question is: How do I download all packages for a newer version of FreeBSD, given that I have no device running that newer version yet?
The contents of the files mentioned above is:
my_config_for14.conf
Code:
PKG_DBDIR = "/home/system/distrib/FreeBSD/14.0-RELEASE/var/db/pkg";
PKG_CACHEDIR = "/home/system/distrib/FreeBSD/14.0-RELEASE/var/cache/pkg";
REPOS_DIR [
"/home/system/distrib/FreeBSD/14.0-RELEASE/packages/repos",
]
ABI = "FreeBSD:14:amd64";
REPO_AUTOUPDATE = false;
IP_VERSION = 4
FreeBSD14.conf
Code:
FreeBSD14:
{
url: "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}