CONTENTS


Lastmodified 2019-05-31 (金) 09:21:04


portsnap cron

# Update ports tree
0 3 * * * root portsnap cron && portsnap update >/dev/null && /usr/local/sbin/portversion -vL=
[Reading data from pkg(8) ... - 493 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 32227 port entries found
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.....
....10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000
.........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000.........
27000.........28000.........29000.........30000.........31000.........32000.. ..... done]
ap24-mod_http2-devel-1.11.4  ?  error - origin not found 
areca-cli-amd64-1.14.7.150519,1  ?  error - origin not found 
bind-tools-9.14.1           <  needs updating (port has 9.14.2) 

とエラーのない機体がある一方、

# Update ports tree
0	1	*	*	*	root portsnap cron && portsnap update >/dev/null && /usr/local/sbin/portversion -vL=
sh: perl: not found
make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status
sh: perl: not found
make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status
sh: perl: not found
make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status
sh: perl: not found
make: "/usr/ports/Mk/bsd.default-versions.mk" line 75: warning: "perl -e 'printf "%vd\n", $^V;'" returned non-zero status
[Reading data from pkg(8) ... - 440 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 32229 port entries found 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.....
....10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000
.........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000.........
27000.........28000.........29000.........30000.........31000.........32000.. ..... done]
ap24-mod_http2-devel-1.11.4  ?  error - origin not found 
bind-tools-9.14.1           <  needs updating (port has 9.14.2) 
bind911-9.11.6P1            <  needs updating (port has 9.11.7) 

一見動作しているが、エラーも吐く機体がある。これに

/etc/crontab の path に、:/usr/local/bin 追加

SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin

Total access 1918:本日 1:昨日 1

Counter: 1918, today: 1, yesterday: 1

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS