Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2018 15:56:57 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Christoph Moench-Tegeder <cmt@burggraben.net>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Resolving ports conflicts for ImageMagick6
Message-ID:  <CAN6yY1vuk8VViDp611Z=8uJb7JezAUxearJUgq=8ifS6jvL3%2Bg@mail.gmail.com>
In-Reply-To: <20181118211241.GA48284@www.zefox.net>
References:  <20181118174338.GA47653@www.zefox.net> <20181118184940.w3dsic76simxztvv@squirrel.exwg.net> <20181118211241.GA48284@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 18, 2018 at 1:14 PM bob prohaska <fbsd@www.zefox.net> wrote:

> On Sun, Nov 18, 2018 at 07:49:41PM +0100, Christoph Moench-Tegeder wrote:
> > ## bob prohaska (fbsd@www.zefox.net):
> >
> > > Installing ImageMagick6-6.9.10.14,1...
> > > pkg-static: ImageMagick6-6.9.10.14,1 conflicts with
> ImageMagick-6.9.9.28_2,1 (installs files into the same place).  Problematic
> file: /usr/local/bin/Magick++-config
> > > *** Error code 70
> >
> > Make sure your installed packages are up-to-date with your ports tree.
> > Using old packages with a new ports tree (or vice versa) results in...
> this.
>
> I neglected to mention this in on an RPI3, so packages aren't available.
>
> It never crossed my mind that pkg could be used to remove a port compiled
> from source. I tried "make deinstall", but by then the old ImageMagick
> port had morphed into ImageMagick6  and deinstall didn't work.
>
> bob prohaska
>


While Warren's procedure clearly works, I believe the recommended procedure
when a port is renamed is:
# pkg set -o graphics/ImageMagick:graphics/ImageMagick6
# portmaster ImageMagick6
or
# portmaster -o graphics/ImageMagick6 ImageMagick

The '-o', in either case, builds the new port and updates all ports that
depend on it with the replacement without trying to rebuild them.  Of
course, all of this working requires an up to date ports tree.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vuk8VViDp611Z=8uJb7JezAUxearJUgq=8ifS6jvL3%2Bg>