Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2006 09:58:57 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        gahn <ipfreak@yahoo.com>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Problems with openldap version conflict (was Re: upgrade packages)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Nov 2006 06:21:27 -0800 (PST)
gahn <ipfreak@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061118095857.caa0dc6e.wmoran>