@dch to 15.0, so it's mostly just installing set-minimal and handling a couple of package renames (audit-lib, xz-lib). we'll need to try 15.0 to 16.0 at some point to see what needs to go into the release notes, but i *think* everything should be handled automatically.
i don't usually run different OS versions in jails (aside from poudriere) but i don't remember that needing anything special... doesn't pkg pick up the correct ABI automatically once it's installed? freebsd-update had a lot of issues with this since it relied on uname(1).
@dch hm... are you doing this with signed packaged (e.g. pkg.freebsd.org)? iirc, there's an issue with pkg where it needs the signing keys installed *in the chroot* before you can install anything, which might be what you're running into.
i thought i'd filed a pkg PR for this (because it's clearly a bug) but i can't seem to find it now, maybe i just mentioned it on IRC.
@lw @dch WHERE HAVE YOU BEEN ALL MY LIFE?
https://man.freebsd.org/cgi/man.cgi?freebsd-base(7)
Okay… few months, but still.
Looks like the URL handling might not like the parentheses. But still.
@dch I don't have a great deal of patience with people who supposedly follow FreeBSD, closely, for years, and then express dismay that FreeBSD can be upgraded:
pkg upgrade
I mean, come on, people. The plan was clear enough more than a decade ago.
In last year's <https://mail-archive.freebsd.org/cgi/mid.cgi?dfc2de28-f496-4746-ac78-5b5ff68c5ed6> I refrained from quoting Glen Barber (his 2016 call for testing):
"… Also note (as repeated below), running 'pkg delete -a' will implicitly remove base system packages after they are installed. …"