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 Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to