Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2007 13:57:03 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Markus Hoenicka <markus.hoenicka@mhoenicka.de>
Subject:   Re: upgrading xfce4 fails
Message-ID:  <200701271357.04499.lists@jnielsen.net>
In-Reply-To: <20070127091529.N78036@wonkity.com>
References:  <17851.12188.9550.411936@yeti.mininet> <20070127091529.N78036@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 27 January 2007 11:21, Warren Block wrote:
> On Sat, 27 Jan 2007, Markus Hoenicka wrote:
> > I'm having a hard time upgrading xfce4 on a FreeBSD 6.1 box. I've
> > tried portupgrade first, but as it bumped into a boatload of errors I
> > eventually had to resort to upgrade individual packages. This left me
> > with a mix of packages of xfce versions 4.2 and 4.4, and a build
> > failure in xfce4-mcs-manager which I'm unable to resolve:
> >
> > /usr/local/lib/libxfcegui4.so: undefined reference to
> > `xfce_desktop_entry_has_translated_entry'
>
> Saw that, or something like it.
>
> > All non-xfce4 packages which the xfce4 packages depend upon appear to
> > have upgraded ok (or so portupgrade says).
> >
> > Is there anything I can do except waiting for prebuilt packages?
>
> pkg_delete or make deinstall everything xfce\* and libxfce\*, then just
> install /usr/ports/x11-wm/xfce4.  From what I've seen so far, xfce4.4 is
> definitely worth it.

I've updated 3 machines so far using portupgrade and haven't had any undue 
trouble. It went something like this:

#portsnap fetch update && pkgdb -F && pkg_version -v -l '<'
(my usual upgrade starter)
pkgdb tells me a bunch of xfce4 ports are now obsolete. I tell it to try to 
delete them. It fails. I interrupt it (^C) and manually uninstall the 
meta-port:
# pkg_deinstall x11-wm/xfce4
Then 
# pkgdb -F
again, again telling it to delete the obsolete ports. This time it succeeds. 
Now the money shot:
# portupgrade -rR xfce\* && portupgrade -N x11-wm/xfce4
Updates everything and re-installs the meta-port, which has a couple new 
dependencies. Note that lots of the ports being updated have OPTIONS 
screens, so either keep an eye on it or run through them in advance (see 
the archives for scripted ways of doing this).

I second Warren's endorsement of the upgrade. :)

JN



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