A question about using portsnanp to upgrade ports tree

Steve Burton steve at sliderule.demon.co.uk
Fri Jun 17 05:44:36 UTC 2016

On 16/06/2016 10:30, Nan Xiao wrote:
> Hi all,
> Greetings from me! I have a question about using portsnap.
> After reading Using the Ports Collection in handbook, per my understanding, if /usr/ports/* is not empty
> after installing FreeBSD:
> /usr/ports # ls
> .arcconfig      Mk              audio           distfiles       hebrew          multimedia      print           x11
> .gitignore      README          benchmarks      dns             hungarian       net             russian         x11-clocks
> .....
> I only need to use "portsnanp fetch update" to upgrade ports tree, no necessary to do "portsnanp fetch extract".
> Is my understanding right? Thanks very much in advance!
> Best Regards
> Nan Xiao (肖楠)
> Skype: xiaonan19830818
> Jabber/XMPP: nanxiao at xmpp.ru.net
> Telegram: nanxiao
> Personal website (Chinese): http://nanxiao.me/
> Personal website (English): http://nanxiao.me/en
> Chinese DTrace website: http://chinadtrace.org/
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


you need to run 'portsnap fetch update' once only to populate the ports. 
Thereafter, run 'portsnap fetch update' to keep them up to date.


More information about the freebsd-questions mailing list