[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#533862: didiwiki.postinst error



Package: didiwiki
Version: 0.5-6
currently using testing

xia:/var/lib/dpkg/info# dpkg --configure --pending
Setting up didiwiki (0.5-6) ...
Starting didiwiki: didiwiki.
Starting didiwiki: invoke-rc.d: initscript didiwiki, action "start" failed.
dpkg: error processing didiwiki (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 didiwiki
xia:/var/lib/dpkg/info#


at the end of  didiwiki.postinst is a section (as follows)

# Automatically added by dh_installinit
if [ -x "/etc/init.d/didiwiki" ]; then
        update-rc.d didiwiki defaults >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d didiwiki start || exit $?
        else
                /etc/init.d/didiwiki start || exit $?
        fi
fi
# End automatically added section

I changed the start option to restart and it worked.
maybe "dh_installinit" needs fixing

also noted in change log
   * Rewrited didiwiki.postinst to use invoke-rc.d to comply with
     the version 3.7.0 of the Policy.

tony








Reply to: