From owner-freebsd-questions@FreeBSD.ORG Sat Nov 18 14:57:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00D4916A407 for ; Sat, 18 Nov 2006 14:57:04 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 066BB43D45 for ; Sat, 18 Nov 2006 14:56:59 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (TMP-MORAN.WV.CC.cmu.edu [128.237.226.200]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Sat, 18 Nov 2006 09:57:02 -0500 id 00056463.455F1F3E.00002D0E Date: Sat, 18 Nov 2006 09:58:57 -0500 From: Bill Moran To: gahn Message-Id: <20061118095857.caa0dc6e.wmoran@collaborativefusion.com> In-Reply-To: <907304.88526.qm@web52107.mail.yahoo.com> References: <907304.88526.qm@web52107.mail.yahoo.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd general questions Subject: Problems with openldap version conflict (was Re: upgrade packages) 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: Sat, 18 Nov 2006 14:57:04 -0000 On Sat, 18 Nov 2006 06:21:27 -0800 (PST) gahn wrote: > hi all: > > trying to install package "freeradius" and it is using > package "openldap-client-2.3.29". but i have problems > to get "openldap-client-2.3.29" installed: > > ===> openldap-client-2.3.29 conflicts with installed > package(s): > openldap-client-2.2.30 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/net/openldap23-client. > > foo# pkg_delete openldap-client-2.2.30 > pkg_delete: package 'openldap-client-2.2.30' is > required by these other packages > and may not be deinstalled: > evolution-2.4.2.1_1 > evolution-data-server-1.4.2.1_3 > evolution-exchange-2.4.2_1 > evolution-webcal-2.4.1_1 > gnome2-2.12.3 > gnomeapplets2-2.12.3 > gnomecontrolcenter2-2.12.3_1 > gnomenetstatus-2.12.0_2 > gnomepanel-2.12.3_1 > gnomeutils2-2.12.2,1 > kde-3.5.1 > kdeartwork-3.5.1_1 > kdebase-3.5.1_2 > kdesdk-3.5.1_1 > kdeutils-3.5.1_1 > kdevelop-3.3.1_1 > libgail-gnome-1.1.3_1 > vino-2.12.0_2 > > how can i get the "openldap-client" upgraded? I see this all the time. It's one of the curses of software dependencies. The technique I use and recommend is portupgrade with the -o option. Something like: portupgrade -fo net/openldap23-client openldap-client-2.2.30 will replace the 2.2 version with the 2.3 version. I've done this on a few systems without problems. You can then install packages that require the 2.3 verison without hassel. -- Bill Moran