From owner-freebsd-questions@FreeBSD.ORG Mon Sep 27 09:31:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D693106566C for ; Mon, 27 Sep 2010 09:31:18 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout02.plus.net (relay.pcl-ipout02.plus.net [212.159.7.100]) by mx1.freebsd.org (Postfix) with ESMTP id EF47C8FC17 for ; Mon, 27 Sep 2010 09:31:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah0FAG4BoEzUnw4U/2dsb2JhbACUMI4AccU6hUQE Received: from outmx08.plus.net ([212.159.14.20]) by relay.pcl-ipout02.plus.net with ESMTP; 27 Sep 2010 10:31:16 +0100 Received: from helix.plus.com ([84.92.153.232] helo=curlew.milibyte.co.uk) by outmx08.plus.net with esmtp (Exim) id 1P0A3H-000369-VS for freebsd-questions@freebsd.org; Mon, 27 Sep 2010 10:31:16 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.72) (envelope-from ) id 1P0A3G-0000aQ-K2 for freebsd-questions@freebsd.org; Mon, 27 Sep 2010 10:31:14 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 27 Sep 2010 10:31:14 +0100 User-Agent: KMail/1.9.10 References: <4C9F74DD.6000009@nagual.nl> <20100926170530.GA32854@slackbox.erewhon.net> In-Reply-To: <20100926170530.GA32854@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201009271031.14526.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: Re: port upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 09:31:18 -0000 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