Opened 10 years ago
Closed 10 years ago
#1368 closed defect (fixed)
udig crashes on web tab (xulrunner installation breaks dpkg)
Reported by: | kalxas | Owned by: | fgdrf |
---|---|---|---|
Priority: | major | Milestone: | OSGeoLive8.5 |
Component: | OSGeoLive | Keywords: | udig, geopublishing.org |
Cc: | live-demo@… |
Description
Setting up xulrunner-1.9.2 (1.9.2.17+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 , 10 years ago
Keywords: | udig geopublishing.org added |
---|
follow-up: 3 comment:2 by , 10 years ago
Priority: | blocker → critical |
---|
disabled the xulrunner installation for now [11588]
comment:3 by , 10 years ago
comment:5 by , 10 years ago
Priority: | critical → major |
---|
comment:6 by , 10 years ago
xulrunner is not available as a Trusty package. An alternative would be to install it manually within install_udig.sh
http://askubuntu.com/questions/125980/how-do-i-install-xulrunner
comment:7 by , 10 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/1.9.2.19/runtimes/xulrunner-1.9.2.19.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:
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner
The webview in uDig works but for the given URL ([udig.refractions.net/confluence]) is temporary not available :(
possible workaround:
- update uDig quickstart to avoid using web view and reference to a locally running WMS/WFS service
comment:8 by , 10 years ago
Hi,
we're running out of time, what's the status? can someone in the know update the quickstart for the local WMS?
thanks, Hamish
comment:9 by , 10 years ago
Owner: | changed from | to
---|
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 , 10 years ago
Thanks, I will move this ticket to the next version when this is committed.
comment:11 by , 10 years ago
fyi, xulrunner packages are still being uploaded for Debian, so it's not abandoned.
https://packages.debian.org/search?keywords=xulrunner
Although I wouldn't like to have to recompile firefox/iceweasel to get it.
comment:12 by , 10 years ago
Milestone: | OSGeoLive8.0 → OSGeoLive8.5 |
---|
comment:13 by , 10 years ago
Summary: | xulrunner installation breaks dpkg (udig installer) → udig crashes on web tab (xulrunner installation breaks dpkg) |
---|
comment:14 by , 10 years ago
Resolution: | → fixed |
---|---|
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)
Hamish