Date: Sat, 16 Apr 2016 13:00:07 -0500 (CDT) From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: "JosC" <bsduser@cloudzeeland.nl> Cc: "Anton Sayetsky" <vsasjason@gmail.com>, "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: Re: Ports upgrade script Message-ID: <57356.76.193.16.109.1460829607.squirrel@cosmo.uchicago.edu> In-Reply-To: <2e223983-d2ff-fd97-caba-732fd92aa20b@cloudzeeland.nl> References: <2daca22c-7719-0776-fbe8-3c37021298bf@cloudzeeland.nl> <CAA2O=b9kHNz-q8NP_txAveRRw57jLWg8yMnTZvcQm0F4M98hOA@mail.gmail.com> <2e223983-d2ff-fd97-caba-732fd92aa20b@cloudzeeland.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > perfectly): > > !/bin/sh > 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 #!/bin/sh ("#" 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 portupgrade -acy 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 portupgrade. Valeri > > BR, Jos > > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57356.76.193.16.109.1460829607.squirrel>