russelld wrote: ↑Sun Mar 07, 2021 6:06 am
hey ericbsd,
Thanks for the suggestion!
Is it possible to upgrade the existing 12.2-stable already on this system?
Yes, it is a bit tricky but possible.
I recommend creating a backup BE in case of everything goes wrong.
In /etc/pkg/GhostBSD.conf comment this line:
Code: Select all
"http://pkg.ghostbsd.org/stable/${ABI}/latest",
and add this:
Code: Select all
url: "http://pkg.ghostbsd.org/stable/FreeBSD:13:amd64/latest",
It should look like this:
Code: Select all
# $GhostBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/GhostBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "GhostBSD: { enabled: no }" > /usr/local/etc/pkg/repos/GhostBSD.conf
#
GhostBSD: {
# url: "http://pkg.ghostbsd.org/stable/${ABI}/latest",
url: "http://pkg.ghostbsd.org/stable/FreeBSD:13:amd64/latest",
enabled: yes
}
Everything below I recommend to run in a TTY. Just press Ctrl+Alt+F2 login as root or use
sudo su.
You need to bootsrap before upgrade.
Code: Select all
# env IGNORE_OSVERSION=yes pkg bootstrap -f
Now you can upgrade with this:
Code: Select all
# env ABI=freebsd:13:amd64 pkg-static upgrade -f
After that is done you can reboot.
If everything looks good you can upgrade your pools by doing this: