Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2004 21:00:47 -0800
From:      Joshua Tinnin <krinklyfig@spymac.com>
To:        freebsd-ports@freebsd.org
Cc:        Sam Lawrance <boris@brooknet.com.au>
Subject:   Re: desktop-file-utils
Message-ID:  <200412282100.48463.krinklyfig@spymac.com>
In-Reply-To: <200412282055.46838.krinklyfig@spymac.com>
References:  <200412282034.11149.ringworm@inbox.lv> <200412282055.46838.krinklyfig@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 28 December 2004 08:55 pm, Joshua Tinnin 
<krinklyfig@spymac.com> wrote:
> On Tuesday 28 December 2004 08:34 pm, "Michael C. Shultz"
> <ringworm@inbox.lv> wrote:
> > I get the following error when trying to deinstall
> > desktop-file-utils:
> >
> > root@ringworm:/usr/ports/devel/desktop-file-utils#make deinstall
> > ===>  Deinstalling for devel/desktop-file-utils
> > ===>   Deinstalling desktop-file-utils-0.10
> > ===>   desktop-file-utils-0.9 has a different PREFIX: /usr/X11R6,
> > skipping
> > root@ringworm:/usr/ports/devel/desktop-file-utils#
> >
> > I have no idea what is causing this, do you?
>
> Yes, the 0.10 version installs the binary in ${LOCALBASE}/bin , which
> is /usr/local/bin , instead of ${X11BASE}/bin , which
> is /usr/X11R6/bin/. I'm not sure why it's not finding it correctly in
> your case, as it will deinstall for me. Maybe your pkgdb isn't
> correct. Maybe try pkgdb -F. This change has caused some problems
> (not sure if the change were intentional), specifically with gimp,
> and I sent a patch to the list for that earlier. The patch solves the
> problem for gimp, but I'm not sure that desktop-file-utils is
> supposed to be installing in LOCALBASE.

Oh, right. Because you have the earlier version installed, it's trying 
to deinstall using a different base because the install directory 
changed, so do what Sam said and use pkg_delete.

- jt

> > Also I think going from version 0.9 to 0.10 is actually going
> > backwards, probably should have gone from 0.09 to 0.10, and maybe
> > you are going to need to set PORTEPOCH=1 ?
>
> Not sure ...



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