Opened 7 years ago
Closed 6 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 Changed 6 years ago by
Keywords: | udig geopublishing.org added |
---|
comment:2 follow-up: 3 Changed 6 years ago by
Priority: | blocker → critical |
---|
disabled the xulrunner installation for now [11588]
comment:3 Changed 6 years ago by
comment:5 Changed 6 years ago by
Priority: | critical → major |
---|
comment:6 Changed 6 years ago by
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 Changed 6 years ago by
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 Changed 6 years ago by
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 Changed 6 years ago by
Owner: | changed from live-demo@… to fgdrf |
---|
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 Changed 6 years ago by
Thanks, I will move this ticket to the next version when this is committed.
comment:11 Changed 6 years ago by
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 Changed 6 years ago by
Milestone: | OSGeoLive8.0 → OSGeoLive8.5 |
---|
comment:13 Changed 6 years ago by
Summary: | xulrunner installation breaks dpkg (udig installer) → udig crashes on web tab (xulrunner installation breaks dpkg) |
---|
comment:14 Changed 6 years ago by
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