I have installed FreeBSD version 14.3, pkgbasified it, and would now like to upgrade to version 15.
I have the following file inside /usr/local/etc/pkg/repos/FreeBSD-base.conf
I would like to upgrade to 15.0 without modifying this file with the following command:
My problem is that no matter how I try to pass the PACKAGESITE variable, it always uses the one specified inside the FreeBSD-base.conf file.
Is what I want to do possible?
I have the following file inside /usr/local/etc/pkg/repos/FreeBSD-base.conf
Code:
FreeBSD-base: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_3",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
I would like to upgrade to 15.0 without modifying this file with the following command:
pkg -o PACKAGESITE=pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest update -r FreeBSD-baseMy problem is that no matter how I try to pass the PACKAGESITE variable, it always uses the one specified inside the FreeBSD-base.conf file.
Is what I want to do possible?