A question about using portsnanp to upgrade ports tree

Nan Xiao nan at chinadtrace.org
Fri Jun 17 02:54:30 UTC 2016


Hi Chris,

Yes, you are absolutely right! If I don't run "portsnap extract", I get the following errors:

/usr/ports was not created by portsnap.
You must run 'portsnap extract' before running 'portsnap update'.

Thanks very much for your answer again!



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/ 
 
From: Christofer C. Bell
Date: 2016-06-17 08:48
To: Nan Xiao; FreeBSD Questions
Subject: Re: A question about using portsnanp to upgrade ports tree
You will still need to do the extract.  If you try to upgrade a ports tree that has not previously been installed by portsnap, it will give you an error message telling you to do an extract.

On Thu, Jun 16, 2016 at 4:30 AM, Nan Xiao <nan at chinadtrace.org> 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"



-- 
Chris

"If you wish to make an apple pie from scratch, you must first invent the Universe." -- Carl Sagan




More information about the freebsd-questions mailing list