本地刚装完freebsd7.0,连上ssh,portsnap fetch extract一下,提示: Snapshot appears to have been created more than one day into the future! (Is the system clock correct?) Cowardly refusing to proceed any further. 原来是安装时系统时间不正确 执行代码: ntpdate pool.ntp.org 然后再执行portsnap fetch即可.
Browsing the archives for the portsnap tag
从6.0开始,freebsd升级ports就不再需要cvsup了,而是用portsnap,
一、portsnap与cvsup的区别在于:
1、portsnap有数字签名,较安全,cvsup没有。
2、portsnap是打包压缩下载,所以会比cvsup快一些,当然除了第一次使用。
二、使用方法是:
第一次使用:portsnap fetch extract
以后再用:portsnap fetch update
还可以放在cron里定时升级:portsnap cron update
需要注意的是不要portsnap和cvsup混合使用。
感觉FreeBSD 6.0最方便的改进就是增加了portsnap这个很方便的升级port tree软件,以前用恼人的portupgrade做port tree升级的时候总是感觉有点缺陷,方便性不够,而且做成crontab总是担心。现在FreeBSD 6.0下有了portsnap这个方便的工具,升级port tree就十分方便。
以下就是portsnap的几种简单用法:
第一次使用可以:portsnap fetch extract
以后使用只要:portsnap fetch update
放在cron里运行:portsnap cron