From owner-freebsd-questions@FreeBSD.ORG Tue May 27 03:59:25 2008 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 226AA106567E for ; Tue, 27 May 2008 03:59:25 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id D7B768FC23 for ; Tue, 27 May 2008 03:59:24 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.2) with ESMTP id m4R3xOvn039143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 May 2008 22:59:24 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.2/Submit) id m4R3xNkj039110; Mon, 26 May 2008 22:59:23 -0500 (CDT) (envelope-from dan) Date: Mon, 26 May 2008 22:59:23 -0500 From: Dan Nelson To: Mohammad Khashashneh Message-ID: <20080527035923.GB5582@dan.emsphone.com> References: <6b0153210805261859i2bb9823atfacca74602d64aba@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b0153210805261859i2bb9823atfacca74602d64aba@mail.gmail.com> X-OS: FreeBSD 7.0-STABLE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Mysql 5 installation problem 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, 27 May 2008 03:59:25 -0000 In the last episode (May 27), Mohammad Khashashneh said: > I'm having a problem with port dependencies. I want to install mysql > 5 so I used the available port in > /usr/ports/databases/mysql50-client > > However I get the following message upon installation: > > # make install > ===> Installing for mysql-client-5.0.18_1 > > ===> mysql-client-5.0.18_1 conflicts with installed package(s): > mysql-client-4.1.18_1 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > # pkg_delete mysql-client-4.1.18_1 > pkg_delete: package 'mysql-client-4.1.18_1' is required by these other > packages > and may not be deinstalled: > kde-3.5.1 > koffice-1.4.2_3,1 > php5-mysql-5.1.2_1 > > Is there a way around this? I hope I don't have to remove kde3 and > koffice because I'm sure this will not be the end of it. You can use portupgrade to upgrade the mysql-client port from mysql-client-4.1.18_1 to mysql-client-5.0.18_1. Portupgrade will keep the old shared libs in /usr/local/lib/compat/pkg/ so your old ports will still work. portupgrade -o databases/mysql50-client mysql-client-4.1.18_1 -- Dan Nelson dnelson@allantgroup.com