mono-xsp2 fails to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xsp (Debian) |
Fix Released
|
Unknown
|
|||
xsp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mono-xsp2
mono-xsp2 on Feisty/i386 fails because "an unknown initscript, /etc/init.
jmi@zoidberg:~$ sudo apt-get install mono-xsp2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
mono-xsp2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 61.9kB of archives.
After unpacking 295kB of additional disk space will be used.
Get: 1 http://
Fetched 61.9kB in 0s (120kB/s)
Preconfiguring packages ...
(Reading database ... 107987 files and directories currently installed.)
Unpacking mono-xsp2 (from .../mono-
invoke-rc.d: unknown initscript, /etc/init.
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 100
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Changed in xsp: | |
status: | Unknown → Fix Released |
after taking a look at the preinstall script it seems that it checks for the wrong initscript. 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.
it checks for /etc/init.
thats the content of the preinst script extracted via dpkg-deb.
#!/bin/sh -e
NAME=mono-xsp2
DESC="XSP WebServer"
case "$1" in d/mono- xsp ]; then
invoke- rc.d mono-xsp2 stop
/etc/ init.d/ mono-xsp2 stop
upgrade|install)
if [ -f /etc/init.
if which invoke-rc.d >/dev/null 2>&1; then
else
fi
fi
;;
esac
exit 0
it should check for /etc/init. d/mono- xsp2 initscript instead i think.
best regards michael