Problems with openldap version conflict (was Re: upgrade packages)

Bill Moran wmoran at collaborativefusion.com
Sat Nov 18 06:57:04 PST 2006


On Sat, 18 Nov 2006 06:21:27 -0800 (PST)
gahn <ipfreak at 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


More information about the freebsd-questions mailing list