Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 10:31:14 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: port upgrading
Message-ID:  <201009271031.14526.jmc-freebsd2@milibyte.co.uk>
In-Reply-To: <20100926170530.GA32854@slackbox.erewhon.net>
References:  <4C9F74DD.6000009@nagual.nl> <20100926170530.GA32854@slackbox.erewhon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271031.14526.jmc-freebsd2>