Package: mpt-status
Severity: important
# apt-get install mpt-status
[...]
Preparing to replace mpt-status 1.1.6-8 (using .../mpt-status_1.2.0-3_i386.deb)
...
Stopping mpt-status monitor: mpt-statusd failed!
invoke-rc.d: initscript mpt-statusd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping mpt-status monitor: mpt-statusd failed!
invoke-rc.d: initscript mpt-statusd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/mpt-status_1.2.0-3_i386.deb
(--unpack):
subprocess new pre-removal script returned error exit status 1
Starting mpt-status monitor: mpt-statusdinvoke-rc.d: initscript mpt-statusd,
action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mpt-status_1.2.0-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The reason for the failure:
# /etc/init.d/mpt-statusd stop
Stopping mpt-status monitor: mpt-statusd failed!
# echo $?
1
# cat /var/lib/dpkg/info/mpt-status.prerm
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/mpt-statusd" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d mpt-statusd stop || exit $?
else
/etc/init.d/mpt-statusd stop || exit $?
fi
fi
# End automatically added section
-> I don't have a running mpt-statusd, but the stop action in the
init script fails. The init script should not report an error. See
#374655 for a similar case.
Workaround for users:
chmod -x /etc/init.d/mpt-statusd
apt-get install mpt-status
chmod +x /etc/init.d/mpt-statusd
regards,
-mika-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]