[FreeBSD] portsnap 錯誤

最近更新常常出現下面的錯誤訊息:

Looking up portsnap.tw.FreeBSD.org mirrors... none found.
Fetching public key from portsnap.tw.FreeBSD.org... done.
Fetching snapshot tag from portsnap.tw.FreeBSD.org... done.
Fetching snapshot metadata... fetch: http://portsnap.tw.FreeBSD.org/t/cbd6adc2e4cea3d29c1bbc668cf0204bfe1d6131ac53a862d1111745a47d1cc2: No route to host
sha256: cbd6adc2e4cea3d29c1bbc668cf0204bfe1d6131ac53a862d1111745a47d1cc2: No such file or directory
[: !=: unexpected operator
mv: rename cbd6adc2e4cea3d29c1bbc668cf0204bfe1d6131ac53a862d1111745a47d1cc2 to tINDEX.new: No such file or directory
done.
grep: tINDEX.new: No such file or directory
look: tINDEX.new: No such file or directory
Portsnap metadata appears bogus.
Cowardly refusing to proceed any further.
No snapshot available.  Try running
# portsnap fetch

繼續閱讀 »

Please follow and like us:

FreeBSD ports 相關工具

O.S.: FreeBSD 6.2 Release
1. 更新 ports:
之前是用 cvsup 更新,後來 6.x 出了比較新的 csup,只要在 /usr/src 或是 /usr/ports 下直接 "make update" 就可以直接更新了。今天熊熊發現 6.x 還有新增一個 "portsnap" 的工具,看起來也是蠻方便的(不過只能更新 ports,src 還是需要用 csup)。
From:http://www.cyberciti.biz/tips/howto-keep-freebsd-system-upto-date.html
http://www.backup.idv.tw/viewtopic.php?p=2528&sid=f9e396981b234fd96dba8cad56c91923
http://www.freebsd.org/doc/zh_TW/books/handbook/ports-using.html

繼續閱讀 »

Please follow and like us: