From owner-freebsd-questions@FreeBSD.ORG Tue Jun 7 12:37:43 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 080EC1065677 for ; Tue, 7 Jun 2011 12:37:43 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C47FD8FC14 for ; Tue, 7 Jun 2011 12:37:42 +0000 (UTC) Received: by iwn33 with SMTP id 33so5979647iwn.13 for ; Tue, 07 Jun 2011 05:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=VPxtt4/jMTIP7/UModN+IekC6VNdzQkhfx3G1mTC6dM=; b=QNok3LlIeNPvQ16+D/7ylsdnmLRby+pe/SBlZabBU0tqOcOPrf8HyDX6whjBph3R/I biBoNKDTbkQVH1GDUHIqJLK3g/Tslh14iB8/1nl789XD7BWik8rXQ/7vQ5mys9xKQJKB FS5wrbO5weQP/305u9RUnYriurJy0H9OYw1eg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=svgkTSkHkQXMbV3NhRoecv9jPFRcUeaEjSNVjsiFzt+gRP7O60U7rA7Am+2Bfx5gmK aYIBlzx+j3fvGPwS/r/2j+XbyiVYYokmR2VBJ+FDFcvPJTCnen5S2EU2fcCFC3aP0hyX UlmmtoFLfbh3VtWcn3MBBzhzq3S2V0RgRdD9c= Received: by 10.231.178.91 with SMTP id bl27mr3186336ibb.52.1307450262058; Tue, 07 Jun 2011 05:37:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.174.70 with HTTP; Tue, 7 Jun 2011 05:37:12 -0700 (PDT) In-Reply-To: <7E6F915F8DE848FEABB9A0F4A901062E@GLENN2> References: <7E6F915F8DE848FEABB9A0F4A901062E@GLENN2> From: Chris Rees Date: Tue, 7 Jun 2011 13:37:12 +0100 Message-ID: To: Glenn McCalley Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: MySQL update 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: Tue, 07 Jun 2011 12:37:43 -0000 On 7 June 2011 12:56, Glenn McCalley wrote: > Trying to update MySQL from 4.1 to 5.5. > Updating mysql-client first. > Make works great, but make install refuses to install saying 5.5 conflict= s > with 4.1, run > pkg_delete for 4.1. > pkg_delete for 4.1 refuses to deinstall as all the php52 packages > (extensions, mysql, mysqli, pdo_mysql etc.) depend on mysql 4.1. > > Question: =A0Do I have to deinstall everything, and then put it all back > together, or can I force the mysql 5.5 client and 5.5 server to install? > I'm at work at the moment, so I can't test these, sorry. Firstly, get portmaster: # pkg_add -r portmaster Then read the manpage: % man portmaster Try something like: # portmaster -o databases/mysql55-client mysql-client # portmaster -o databases/mysql55-server mysql-server Then, because you haven't read the manpage you'll have to confirm everything. Read the manpage! If it doesn't work (because I made a mistake with the -o syntax), read the manpage and then let us have the output. Chris