portmaster -r libnotify-0 problems
Scott Ballantyne
sdb at ssr.com
Sat Sep 10 15:27:06 UTC 2011
Hi Mathew,
> On 09/09/2011 15:13, Scott Ballantyne wrote:
> > I've been trying to update libnotify and libproxy following the
> > instructions in UPDATING, which is to do
> >
> > portmaster -r libnotify-0
> >
> > This trys to install ghostscript9, and fails. Apparently ghostscript9
> > conflicts with ghostscript8-8.71_6, which presumably is the reason for
> > the failure.
> >
> > Could someone help me resolve this? The obvious solution of pkg_delete
> > ghostscript8-8.71_6 doesn't work, because too many installed ports
> > depend on ghostscript8-8.71_6.
>
> There are two approaches you might take here. Either
>
> * replace ghostscript8 with ghostscript9
>
> or
>
> * work out why libnotify triggers a dependency on ghostscript9
> and try and make it use ghostscript8 (or nothing) instead.
>
> The first is a relatively mechanical process, which should work fine
> from the point of view of doing all the port wrangling, but might result
> in further ghostscript8 vs ghostscript9 problems down the line.
> Just run:
>
> # portmaster -o print/ghostscript9 ghostscript8-
>
> That will change the dependency settings in your /var/db/pkg directory,
> which may or may not be appropriate for all ghostscript dependent ports,
> and indeed some may not work at all. (Although I rather doubt the
> simply not-working thing: functionality between those versions hasn't
> changed much at all.)
>
> The second is a more satisfying fix. Lets see... Try defining
>
> WITH_GHOSTSCRIPT_VER=8
>
> in /etc/make.conf (the default is 9 nowadays) -- then try reinstalling
> libnotify according to the instructions in UPDATING.
>
> Read /usr/ports/Mk/bsd.port.mk for the details -- search for GHOSTSCRIPT
> to find the relevant bits.
>
Thanks so much, I am in your debt. However, I also feel that I am in
maze of twisty little passages, all different. The next step here is
to portmaster -r libproxy-0, where I get:
-----------
===>>> Currently installed version: libproxy-0.4.6
===>>> Port directory: /usr/ports/net/libproxy
===>>> Gathering distinfo list for installed ports
===>>> Launching 'make checksum' for net/libproxy in background
===>>> Gathering dependency list for net/libproxy from ports
===>>> Initial dependency check complete for net/libproxy
===>>> Checking ports that depend on libproxy-0.4.6
===>>> Launching child to reinstall alacarte-0.13.2_1
libproxy-0.4.6 >> alacarte-0.13.2_1
===>>> Port directory: /usr/ports/deskutils/alacarte
===>>> No DISTINFO_FILE in /usr/ports/x11-themes/gnome-art
===>>> Aborting update
Terminated
Terminated
===>>> Update for alacarte-0.13.2_1 failed
===>>> Aborting update
--------------
gnome-art is peculiar. There is nothing in that directory but the work
directory, no makefile or anything. And nothing I can find in UPDATE
about alacarte or gnome-art.
Any further thoughts, if you have time?
Thanks again,
Scott
More information about the freebsd-questions
mailing list