Suggested mod for gnome_upgradeXXX.sh

Vladimir Grebenschikov vova at fbsd.ru
Tue Mar 21 09:09:38 UTC 2006


В вс, 19/03/2006 в 11:36 -0600, Jeremy Messenger пишет:
> We will be no longer need gnome_upgradeXXX.sh in the future version of  
> GNOME. Bless to the ltverhack that fix libtool bug. Upgrade GNOME 2.12 to  
> 2.14 (still in MC) was a lot easier than any previous version, which it  
> can be done with portupgrade now. About four to five steps to do it.  
> Here's what I did with GNOME 2.12 to 2.14:
> 
> 	pkgdb -Ff (need for gst stuff)
> 	portupgrade -f -o net/avahi howl-\*
> 	portupgrade -a
> 	portupgrade -f -o x11/gnome-screensaver xscreensaver-gnome-\*
> 
> The steps might be change if there is any better. Like might be best to  
> follow UPDATING before do the portupgrade -a.

First of all thanks for good work.

Unfortunately, I've do this upgrade before above suggestion, so I was
forced to find the solution with howl -> avahi by myself.

Also there is one more conflict of this kind:
evinice requires poppler, but poppler conflicts with already installed
xpdf:
===>  Installing for poppler-0.5.1

===>  poppler-0.5.1 conflicts with installed package(s): 
      xpdf-3.01_2

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/graphics/poppler.
*** Error code 1


Anyway, I get several problems after installation:

most important - some applications stops work due to glib/libthread
problem:
% gnome-ssh-askpass2 
GTK Accessibility Module initialized
/libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam"
%  nm -a /usr/local/lib/libgthread-2.0.so.0 | fgrep "pthread_getschedparam"
         U pthread_getschedparam
%
 but it can be fixed by forced libc_r load:
% env LD_PRELOAD=/usr/lib/libc_r.so gnome-ssh-askpass2
GTK Accessibility Module initialized
%

Same library problem with gqview application.

Another problem is constantly dieing gnome-panel after execution gnome-session-save.
Restarting gnome session (with killing X) helps.

Third problem is GDM, if I choose themed local login it just crashed.
Starting /usr/X11R6/libexec/gdmlogin manually it shows:

The greeter version (2.14.0) does not match the daemon version.  You have probably just upgraded GDM.  Please restart the GDM daemon or the computer.

gdm was upgraded successfully.

There are also minor glitches, like lost session configuration or clock applet style after upgrade. 

> Cheers,
> Mezz
> 
> On Sun, 19 Mar 2006 10:16:16 -0600, Tuc at T-B-O-H <ml at t-b-o-h.net> wrote:
> 
> > Hi,
> >
> > During STAGE 2 you are portupgrading all of the external dependencies.  
> > The
> > problem I have is sometimes some of what it wants to upgrade are things
> > that either aren't as simple as a "portupgrade" (perl for example) or
> > things that I don't care to be on the bleeding edge of (nvidia
> > drivers).
> >
> > What I personally did to stop it was wrote the ${external_list} to a
> > temp file, invoke vi on the file, and then feed a cat of that to the
> > run_portupgrade.
> >
> > I was wondering if maybe in the future something like this might be
> > added. Right now my file has 153 items in it to start, and after I
> > pulled out everything I didn't think or want to be upgraded it ended
> > up to be 124 items. I'm not sure a "Do you want to upgrade devel/pcre  
> > (Y/N)"
> > would be appropriate, so not sure the best way to go about it.
> >
> > 		Thanks, Tuc
> 
> 
-- 
Vladimir B. Grebenschikov
vova at fbsd.ru


More information about the freebsd-gnome mailing list