Date: Sun, 4 Dec 2011 15:07:48 -0500 From: Matthew Pounsett <matt@conundrum.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Major version changes using portupgrade? Message-ID: <B46F6D4F-BF59-4872-AB85-C4A442ABA0A2@conundrum.com> In-Reply-To: <4EDBC65F.8090106@infracaninophile.co.uk> References: <CA97ECCB-550A-48D0-84B1-8A99C8EA549E@conundrum.com> <CA%2Bau=tcgQz06-TOoeKLwJJHVSYAM6zqKo4K6p8PwjEEJ52r1WA@mail.gmail.com> <F1D3BD09-E8BC-49F6-B3AD-FEF0FA175ABF@conundrum.com> <4EDBC65F.8090106@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B46F6D4F-BF59-4872-AB85-C4A442ABA0A2>