Ports upgrade script
galtsev at kicp.uchicago.edu
Sat Apr 16 18:22:33 UTC 2016
On Sat, April 16, 2016 9:34 am, JosC wrote:
> In een bericht van 16-4-2016 12:18:
>> Portsnap isn't compatible with svn.
> So I think I should revise the way I update my ports.
> What I did with my 9.3 BSD was the following script (which worked
> cd /local/user/etc
> svn update /usr/src
> svn update /usr/ports
> cd /usr/ports
> make fetchindex
> portsdb -fu
> cd /usr/local/etc
> portupgrade -na
> So this part I replaced now with:
> portsnap fetch update
> kind of lost how to continue now...
It looks like there is a typo in the first line, it probably should read
("#" seems to be missing).
I'm sure, there are many answers that you received already. Here is just
what I do to update everything that comes from ports:
portsnap fetch exctract
that's all. It may be useful to also install portdowngrade - in case you
ever need to roll something back to the version you had before you run
> BR, Jos
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
More information about the freebsd-questions