Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2016 06:38:07 +0100
From:      Steve Burton <steve@sliderule.demon.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: A question about using portsnanp to upgrade ports tree
Message-ID:  <76c65abc-0c59-6798-58e6-bc53a6b18885@sliderule.demon.co.uk>
In-Reply-To: <2016061617295799990412@chinadtrace.org>
References:  <2016061617295799990412@chinadtrace.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Hi,


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


Steve.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76c65abc-0c59-6798-58e6-bc53a6b18885>