Package: zoneminder Version: 1.24.2-2+b1 Severity: important when upgrading zoneminder, it fails to upgrade:
sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up zoneminder (1.24.2-2+b1) ... Starting ZoneMinder: failure invoke-rc.d: initscript zoneminder, action "start" failed. dpkg: error processing zoneminder (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: zoneminder E: Sub-process /usr/bin/dpkg returned an error code (1) i believe it is because zoneminder is already running, and /etc/init.d/zoneminder returns an error if called with the "start" argument when zoneminder is already running: sudo invoke-rc.d zoneminder start Starting ZoneMinder: failure invoke-rc.d: initscript zoneminder, action "start" failed. if i manually stop zoneminder with "invoke-rc.d zoneminder stop" and then run "apt-get -f install", it sucessfully completes the upgrade without problem. it seems that dh_installinit added the postinst and prerm hooks that *should* handle this properly, but maybe the "stop" argument in prerm isn't working properly? maybe /etc/init.d/zoneminder shouldn't treat additional "start" calls as an error if it's already running? i'm fairly certain this problem exists with older versions as well, but i noticed it when upgrading this version on several machines today. live well, vagrant -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

