Microtel2:/etc/courier# apt-get --reinstall install courier-authdaemon Reading Package Lists... Done Building Dependency Tree... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 28 not upgraded. 1 not fully installed or removed. Need to get 0B/6550B of archives. After unpacking 0B of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 30289 files and directories currently installed.) Preparing to replace courier-authdaemon 0.58-4 (using .../courier-authdaemon_0.58-4_i386.deb) ... Stopping Courier authentication services: authdaemond/var/run/courier/authdaemon/pid.lock: No such file or directory invoke-rc.d: initscript courier-authdaemon, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... Stopping Courier authentication services: authdaemond/var/run/courier/authdaemon/pid.lock: No such file or directory invoke-rc.d: initscript courier-authdaemon, action "stop" failed. dpkg: error processing /var/cache/apt/archives/courier-authdaemon_0.58-4_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Starting Courier authentication services: authdaemond/var/run/courier/authdaemon/pid.lock: No such file or directory ll_daemon_start: Resource temporarily unavailable 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: /var/cache/apt/archives/courier-authdaemon_0.58-4_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Microtel2:/etc/courier# apt-get --purge remove courier-authdaemon Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: courier-authdaemon* 0 upgraded, 0 newly installed, 1 to remove and 28 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 36.9kB disk space will be freed. Do you want to continue? [Y/n] y dpkg: error processing courier-authdaemon (--purge): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: courier-authdaemon E: Sub-process /usr/bin/dpkg returned an error code (1)