root@freebsd:/home/vagrant # sh opnsense-bootstrap.sh -r 27.4 -yThis utility will attempt to turn this installation into the latestOPNsense 27.4 release. All packages will be deleted, the basesystem and kernel will be replaced, and if all went well the systemwill automatically reboot.fetch: https://github.com/opnsense/core/archive/stable/27.4.tar.gz: Not Found
root@freebsd:/home/vagrant # sh ./opnsense-bootstrap.sh -r 24.7 -yThis utility will attempt to turn this installation into the latestOPNsense 24.7 release. All packages will be deleted, the basesystem and kernel will be replaced, and if all went well the systemwill automatically reboot./tmp/opnsense-bootstrap/core.tar.gz 7683 kB 8348 kBps 00spkg: 12 packages installedbash-5.2.26_1: already unlocked
+ pkg -Npkg: 12 packages installed+ pkg unlock -yabash-5.2.26_1: already unlocked
rm -f /var/db/pkg/*
rm: /var/db/pkg/repos: is a directory
root@freebsd:/var/db # ls -lR pkg/total 4drwxr-xr-x 3 root wheel 512 Jun 15 14:40 repospkg/repos:total 4drwxr-xr-x 2 root wheel 512 Jun 15 14:40 FreeBSDpkg/repos/FreeBSD:total 62760-rw-r--r-- 1 root wheel 64212992 Jun 15 03:40 db-rw-r--r-- 1 root wheel 0 Jun 15 14:40 db-journal-rw-r--r-- 1 root wheel 2 Jun 15 14:40 groups.ucl-rw-r--r-- 1 root wheel 0 Jun 15 14:41 lock-rw-r--r-- 1 root wheel 172 Jun 15 14:40 meta
https://github.com/opnsense/update/commit/3881cbf56