jail 内の ports を最新にする
更新手順
host 側の ports tree を最新状態にする
# portsdb -uU
ezjail-admin を使って basejail の ports tree を更新する
# ezjail-admin update -P
ちなみに man ezjail-admin の該当箇所は次の通り。
ezjail-admin update creates or updates ezjail's environment (aka basejail) from source. To install it from ftp servers, use ezjail-admin install. Depending on the parameters given, it will install the basejail from a source tree whose location is either provided in the ezjail.conf config file or via the -s option. If the -p or -P option is given, the base jail also is given a copy of FreeBSDs ports tree, which is in turn linked into all newly created ezjails. The portsnap utility is invoked to do the actual work. If the -P option is given, only the ports tree will be updated, so this can be done while jails are running. If the -i (install only) option is given, ezjail-admin update performs a make installworld, otherwise make world is invoked.
jail 環境へログイン
# jexec 1 /bin/tcsh J# ←jail環境のプロンプトは "J#" と表記する
全ての ports を更新
J# portupgrade -a
参考URL
portsツリーのアップデートを、jailマシンを含めて一発で。
http://d.hatena.ne.jp/m-bird/20090623/1245728400