Opened 9 years ago
Closed 8 years ago
#1368 closed defect (fixed)
udig crashes on web tab (xulrunner installation breaks dpkg)
|Reported by:||kalxas||Owned by:||fgdrf|
Setting up xulrunner-1.9.2 (184.108.40.206+build3+nobinonly-0ubuntu1) ... /var/lib/dpkg/info/xulrunner-1.9.2.postinst: 8: /var/lib/dpkg/info/xulrunner-1.9.2.postinst: /usr/sbin/update-alternatives: not found dpkg: error processing package xulrunner-1.9.2 (--configure): subprocess installed post-installation script returned error exit status 127 Processing triggers for libc-bin (2.19-0ubuntu6) ... Errors were encountered while processing: xulrunner-1.9.2 E: Sub-process /usr/bin/dpkg returned an error code (1)
Change history (14)
comment:1 by , 9 years ago
|Keywords:||udig geopublishing.org added|
follow-up: 3 comment:2 by , 9 years ago
|Priority:||blocker → critical|
disabled the xulrunner installation for now 
comment:3 by , 9 years ago
comment:4 by , 9 years ago
comment:5 by , 9 years ago
|Priority:||critical → major|
comment:6 by , 9 years ago
xulrunner is not available as a Trusty package. An alternative would be to install it manually within install_udig.sh
comment:7 by , 9 years ago
Good news: I managed to get xulrunner 1.9.2.x installed (from the mozilla ftp server):
cd /opt sudo wget -0- https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/220.127.116.11/runtimes/xulrunner-18.104.22.168.en-US.linux-i686.tar.bz2 | sudo tar xj sudo ln -s /opt/xulrunner/xulrunner /usr/bin/xulrunner sudo ln -s /opt/xulrunner/xpcshell /usr/bin/xpcshell
in addition to get uDig (much more precise Eclipse) working its required to add a runtime property in
/usr/lib/udig/udig_internal.ini at the end:
The webview in uDig works but for the given URL ([udig.refractions.net/confluence]) is temporary not available :(
- update uDig quickstart to avoid using web view and reference to a locally running WMS/WFS service
comment:8 by , 9 years ago
we're running out of time, what's the status? can someone in the know update the quickstart for the local WMS?
comment:9 by , 9 years ago
I learned today that there is an other option : Avoid using gtk 3
However, I'll update uDig's quickstart-guide (that will not make use of the web-browser view anymore)
comment:10 by , 9 years ago
Thanks, I will move this ticket to the next version when this is committed.
comment:11 by , 9 years ago
fyi, xulrunner packages are still being uploaded for Debian, so it's not abandoned.
Although I wouldn't like to have to recompile firefox/iceweasel to get it.
comment:12 by , 8 years ago
|Milestone:||OSGeoLive8.0 → OSGeoLive8.5|
comment:13 by , 8 years ago
|Summary:||xulrunner installation breaks dpkg (udig installer) → udig crashes on web tab (xulrunner installation breaks dpkg)|
comment:14 by , 8 years ago
|Status:||new → closed|
After the latest fix for Mozilla as a default browser, uDig does not crash anymore.
the /var/lib/dpkg/info/xulrunner-1.9.2.postinst script can't find /usr/sbin/update-alternatives because it lives in /usr/bin not /usr/sbin.
A little 'sed -i -e' magic on /var/lib/dpkg/info/xulrunner-1.9.2.postinst to fix the path, then another 'apt-get install', gets the package installed successfully, but really this should be fixed upstream.
The install script is grabbing the xulrunner package from the de.geopublishing.org ppa, which is also causing trouble with a GPG error due to "KEYEXPIRED". (see #1344)