port upgrading
Mike Clarke
jmc-freebsd2 at milibyte.co.uk
Mon Sep 27 09:31:18 UTC 2010
On Sunday 26 September 2010, Roland Smith wrote:
> If you are upgrading to another major version of FreeBSD (say 7.x to
> 8.x), make a list of all used ports with `portmaster -l >ports.list`.
> Then delete all ports before updating the system. After the update,
> re-install the 'root' and 'leaf' ports from ports.list.
A more convenient approach is to run 'portmaster --list-origins' which
produces a list of root and leaf ports which you can feed back into
portmaster when reinstalling the ports, all the other dependencies
should sort themselves out. There is a good description of this in the
final example near the bottom of the portmaster man page.
--
Mike Clarke
More information about the freebsd-questions
mailing list