[ubuntu-mono] [Bug 99798] Re: mono-xsp2 fails to install

mgolisch mgolisch at googlemail.com
Mon Apr 30 19:17:35 UTC 2007


after taking a look at the preinstall script it seems that it checks for the wrong initscript.
it checks for /etc/init.d/mono-xsp instead of mono-xsp2 so when mono-xsp is installed it tries to execute the /etc/init.d/mono-xsp2 script to stop the service which fails as its not installed.

thats the content of the preinst script extracted via dpkg-deb.
#!/bin/sh -e

NAME=mono-xsp2
DESC="XSP WebServer"

case "$1" in
   upgrade|install)
        if [ -f /etc/init.d/mono-xsp ]; then
            if which invoke-rc.d >/dev/null 2>&1; then
                invoke-rc.d mono-xsp2 stop
            else
                /etc/init.d/mono-xsp2 stop
            fi
        fi
        ;;
esac


exit 0

it should check for /etc/init.d/mono-xsp2 initscript instead i think.

best regards michael

-- 
mono-xsp2 fails to install
https://bugs.launchpad.net/bugs/99798
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for xsp in ubuntu.




More information about the Ubuntu-mono mailing list