Actions

Difference between revisions of "FreeBSD Jail Upgrade"

From falz.net

(Created page with "Chicken scratch for now Docs say to do this, but it may say you need to fetch first: freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version`...")
(No difference)

Revision as of 12:21, 21 March 2020

Chicken scratch for now Docs say to do this, but it may say you need to fetch first:

freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install

So let's do that, then try again

freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` fetch
freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install


freebsd-update -b /jails/jailname fetch
freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install
pkg -j jailname upgrade -f
service jail restart jailname