Proper way to update ports with svn

Lowell Gilbert freebsd-questions-local at
Sat Mar 30 12:56:26 UTC 2013

Andre Goree <andre at> writes:

> I seem to have to run 'make index' in /usr/ports after I've run 'svn up
> /usr/ports' in order to see which ports need to be updated using
> 'portversion'.  This doesn't seem correct...and if so portsnap would
> seem like a much better tool.  Perhaps I should be running 'make
> fetchindex' instead?  I'm sure I've read about the correct way to do so,
> but it doesn't appear to be here:

Subversion is not relevant; it has not changed the use of the
index file. 'portversion' is part of the portupgrade port, and
requires not just an index but its own database version of the
index file. Building your own index will be slightly more
accurate for what is actually on your box, but fetching it will
be much faster and nearly always accurate enough.

More information about the freebsd-questions mailing list