您的位置:軟件測試 > 開源軟件測試 > 開源配置管理工具 > cvs
FreeBSD5.3進行CVSup升級不成功的問題
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2013/2/7 10:57:57 ] 推薦標(biāo)簽:

服務(wù)器剛裝了FreeBSD5.3,想用cvsup升級一下系統(tǒng)

于是我先進:

# cd /usr/ports.net/cvsup #進入Ports目錄
# make install #進行ports

等待一段時間,看網(wǎng)速,我花了N個小時左右才ports完,我網(wǎng)速度很快的,也這樣,郁悶!

裝完后,我進入cvsup的支持文件目錄:

# cd /usr/share/examples/cvsup
# ls
README doc-supfile ports-supfile refuse.README standard-supfile
cvs-supfile gnats-supfile refuse stable-supfile www-supfile

我想升級所有的ports,我先編輯以下posts-supfile:

# ee ports-supfile
會看到類似下面的內(nèi)容:
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.32 2004/05/24 06:23:15 cjc Exp $
......

我們關(guān)心的地方只有幾個,一個是我要更新那些ports,默認是更新全部:
## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection. It includes all of the individual "ports-*"
# collections,
ports-all

我要升級全部,不修改,只是修改以下CVSup的服務(wù)器,把國外的服務(wù)器改成國內(nèi)的服務(wù)器:

默認是:
*default host=CHANGE_THIS.FreeBSD.org

我們?yōu)榱烁斓乃俣,一般選擇離我們比較近的服務(wù)器:

*default host=cvsup.freebsdchina.org

保存文件,執(zhí)行命令:

# cvsup -G -L 2 ports-supfile

竟然失敗,暈。。

于是反復(fù)測試,原來,可能我用的cvsup是新版的,只要執(zhí)行:

#cvsup ports-supfile

可以升級了,呵呵~~~

軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd