1 頁 (共 1 頁)

CVSup 更新port tree - FreeBSD 7

發表於 : 2014-08-07, 04:52
tony
//更新ports tree
# cd /usr/ports
# make update

//更新src
# cd /usr/src
# make update

但是在第一次執行的時候 會發生下面的事情
# cd /usr/ports/
# make update
--------------------------------------------------------------
>>> Running portsnap
--------------------------------------------------------------
Error: 'make update' uses portsnap(8) by default and
needs /usr/ports to be created by portsnap on its first run.
Please run 'portsnap fetch extract' first.
You can also define SUP_UPDATE and PORTSSUPFILE to use csup(1)
or CVS_UPDATE to use cvs(1) for updating.

看到這個不要慌啊~

跟著提示打上 portsnap fetch extract

# portsnap fetch extract

就OK了!