From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 20:07:56 2011 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 26A6E106566C for ; Sun, 4 Dec 2011 20:07:56 +0000 (UTC) (envelope-from matt@kaywinnit.conundrum.com) Received: from kaywinnit.conundrum.com (mail2.conundrum.com [67.215.196.38]) by mx1.freebsd.org (Postfix) with ESMTP id F105A8FC12 for ; Sun, 4 Dec 2011 20:07:55 +0000 (UTC) Received: from chani.conundrum.com ([216.235.10.34]) by kaywinnit.conundrum.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RXILa-0007tR-1u; Sun, 04 Dec 2011 20:07:38 +0000 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Matthew Pounsett In-Reply-To: <4EDBC65F.8090106@infracaninophile.co.uk> Date: Sun, 4 Dec 2011 15:07:48 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4EDBC65F.8090106@infracaninophile.co.uk> To: Matthew Seaman X-Mailer: Apple Mail (2.1251.1) Sender: matt@kaywinnit.conundrum.com X-SA-Exim-Connect-IP: 216.235.10.34 X-SA-Exim-Mail-From: matt@kaywinnit.conundrum.com X-SA-Exim-Scanned: No (on kaywinnit.conundrum.com); SAEximRunCond expanded to false Cc: freebsd-questions@freebsd.org Subject: Re: Major version changes using portupgrade? 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: Sun, 04 Dec 2011 20:07:56 -0000 On 2011/12/04, at 14:13, Matthew Seaman wrote: > 4) Now for the updating bit. I'm going to use portmaster's '-o' > functionality to swap out the postgresql versions. (portupgrade > has very similar functionality if you prefer that.) postgresql > is trickier than most, because there have to be both -server and > -client ports to deal with. I also have postgresql-contrib-9.0.5 > installed, which isn't critical but needs similar treatment. > Everything depends on the -client port, so we start with that: >=20 > # portmaster -o databases/postgresql91-client \ > postgresql-client-9.0.5 > # portmaster -o databases/postgresql91-server \ > postgresql-server-9.0.5_1 > # portmaster -o databases/postgresql91-contrib \ > postgresql-contrib-9.0.5 This is the problem bit. The -o doesn't work with the ones I'm dealing = with because of conflicts between 8.4 and 9.1. 9.1 *won't even build*. = If you can find a way to get around that, then you can make life even = easier for yourself by doing a recursive build of all of the things that = depend on the client. It's getting around the conflict that I'm trying = to figure out... the rest is handled. And by the way, if you're not already doing a recursive build then you = can do the server upgrade more simply.. there are no dependencies = attached to the server (normally) so you can just pkg_delete it and = install 9.1.