* Steffen Joeris <[EMAIL PROTECTED]> [20060523 15:20]: > I am currently observing the thread on debian-devel :)
Fine :) > > If stopping mpt-statusd fails, uninstalling is not possible anymore > > because of "|| exit $?". Someone has to run something like: > Do you see any case where this might fail? > Stopping is done with the provided lsb functions and I guess it is running > quite fine. > start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE > rm -f $PIDFILE > Therefore I currently don't see a reason for changing it as stopping is > working. > But of course I am curious to read the other follow-ups to the thread on > debian-devel. JFYI: I don't have the appropriate hardware for mpt-status. # apt-get install mpt-status Reading package lists... Done Building dependency tree... Done mpt-status is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up mpt-status (1.1.6-4) ... Starting mpt-status monitor: mpt-statusdinvoke-rc.d: initscript mpt-statusd, action "start" failed. dpkg: error processing mpt-status (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: mpt-status E: Sub-process /usr/bin/dpkg returned an error code (1) # invoke-rc.d mpt-statusd start Starting mpt-status monitor: mpt-statusd/etc/init.d/mpt-statusd: line 119: kill: (4319) - No such process invoke-rc.d: initscript mpt-statusd, action "start" failed. # rm /var/run/mpt-statu* # /etc/init.d/mpt-statusd start Starting mpt-status monitor: mpt-statusd # echo $? 1 => So to be able to install the package at all I adjusted /var/lib/dpkg/info/mpt-status.postinst and then I tried to remove the package again: # apt-get --purge remove mpt-status Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: mpt-status* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 119kB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 131385 files and directories currently installed.) Removing mpt-status ... Stopping mpt-status monitor: mpt-statusdinvoke-rc.d: initscript mpt-statusd, action "stop" failed. dpkg: error processing mpt-status (--purge): subprocess 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: mpt-status E: Sub-process /usr/bin/dpkg returned an error code (1) # /etc/init.d/mpt-statusd stop Stopping mpt-status monitor: mpt-statusd # echo $? 1 thx && regards, -mika-
pgpHRmMccX53x.pgp
Description: PGP signature

