Date: Wed, 26 Jun 2013 16:50:51 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Jeremy Chadwick <jdc@koitsu.org> Cc: Chris H <bsd-lists@1command.com>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: portupgrade(1) | portmaster(8) -- which is more effective for large upgrade? Message-ID: <alpine.BSF.2.00.1306261649040.93402@wonkity.com> In-Reply-To: <20130626202332.GB80235@icarus.home.lan> References: <5e20544e3580a75759c3858f31894dc9.authenticated@ultimatedns.net> <20130626202332.GB80235@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Jun 2013, Jeremy Chadwick wrote: > When rebuilding everything, I have always resorted to this: > > rsync -avH /usr/local/ /usr/local.old/ > pkg_delete -a -f > rm -fr /usr/local/* > rm -fr /var/db/ports/* > rm -fr /usr/ports/distfiles/* > cd /usr/ports/whatever > make install clean > {lather rinse repeat until done} I don't generally rebuild from scratch, but there is a procedure at the end of the portmaster man page for doing it. Something that should be mentioned: if you are not deleting and reinstalling everything, always--yes, always--check the new entries in /usr/ports/UPDATING first.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1306261649040.93402>