Comment 19 for bug 64615

zek725 (zek725) wrote :

sudo dpkg --force-remove-reinstreq -P courier-authdaemon

dpkg - warning, overriding problem because --force enabled:
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
(Reading database ... 118057 files and directories currently installed.)
Removing courier-authdaemon ...
 * Stopping Courier authdaemon... exec: 31: /usr/sbin/courierlogger: not found
                                                                         [fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--purge):
 subprocess pre-removal script returned error exit status 1
 * Starting Courier authdaemon... exec: 31: /usr/sbin/courierlogger: not found
                                                                         [fail]
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 courier-authdaemon