From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 20:27:55 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 09259106564A for ; Sun, 4 Dec 2011 20:27:55 +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 D7C8F8FC15 for ; Sun, 4 Dec 2011 20:27:54 +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 1RXIew-000Fgh-0B; Sun, 04 Dec 2011 20:27:38 +0000 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Matthew Pounsett In-Reply-To: Date: Sun, 4 Dec 2011 15:27:48 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: freebsd-questions@freebsd.org 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 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:27:55 -0000 On 2011/12/02, at 05:19, Matthew Pounsett wrote: > I was expecting the following to work: > sudo portupgrade -rf -o databases/postgresql91-client = databases/postgresql84-client >=20 > However, I'm running into a problem where the ports makefiles, and by = extension portupgrade, are detecting that the two packages conflict, and = so the 9.1 client won't even build[1]. Thanks to those who tried to help. =20 After poking around in the Mk files A LOT, I eventually stumbled upon a = solution. Not sure if this is "right" or not, but it worked: > sudo portupgrade -M DISABLE_CONFLICTS=3D1 -rf -o = databases/postgresql91-client databases/postgresql84-client Surprisingly, despite the -f, none of the dependencies were rebuilt.. I = got warnings like this instead, for every dependency: ---> Skipping 'databases/postgresql91-client' (apache-2.2.21) because = it has already done However, the +REQUIRED_BY file was still rebuilt properly for the 9.1 = client, so I can now easily go through and do dependency rebuilds as = necessary. Cheers, Matt