@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.