@dvl that would bork the cache for all, it will delete every pkg that's not installed in that jail.
I created a bit of Python to collect installed packages from all jails and clean up old ones.
https://codeberg.org/Sp1l/pkg_utils/src/branch/main/pkg-clean