[Live-demo] [OSGeo] #1348: tilemill: failure to install on ubu 14.04 from ppa due to missing init.d script
OSGeo
trac_osgeo at osgeo.org
Sun Aug 10 14:59:50 PDT 2014
#1348: tilemill: failure to install on ubu 14.04 from ppa due to missing init.d
script
---------------------+------------------------------------------------------
Reporter: hamish | Owner: live-demo@…
Type: defect | Status: new
Priority: major | Milestone: OSGeoLive8.0
Component: LiveDVD | Keywords: tilemill
---------------------+------------------------------------------------------
Changes (by hamish):
* cc: springmeyer (added)
Comment:
here is the problematic section of the
/var/lib/dpkg/info/tilemill.postinst script:
{{{
...
# Automatically added by dh_installinit
if [ -x "/etc/init.d/tilemill" ] || [ -e "/etc/init/tilemill.conf" ]; then
if [ ! -e "/etc/init/tilemill.conf" ]; then
update-rc.d tilemill defaults >/dev/null
fi
invoke-rc.d tilemill start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f tilemill remove >/dev/null || exit $?
# End automatically added section
}}}
changing the `exit $?` to `exit 0` will allow it to get past, probably we
have to try to install it, let it break, patch the above file, then try
again with 'apt-get -f install'. I'm not sure why/if it needs to actually
run it at install time, and what doesn't get done if it doesn't happen.
note classic /etc/init.d/tilemill does not exist, but
/etc/init/tilemill.conf does.
maybe if we just do `service tilemill start && service tilemill stop` at
the end of the install script it will pick up whatever the code snippet
above is trying to do?
Hamish
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1348#comment:4>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Osgeolive
mailing list