Microtel2:/etc/courier# aptitude reinstall authdaemon courier-imap
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Couldn't find package "authdaemon". However, the following
packages contain "authdaemon" in their name:
courier-authdaemon
The following packages have been kept back:
adduser apt apt-utils aptitude bash bind9 bind9-host debianutils dnsutils
gnupg initscripts libfam0c102 libisccc0 mc netbase nfs-common passwd
pciutils pppoeconf python python-newt reportbug ssh sysvinit tasksel
util-linux w3m whiptail
The following packages will be REINSTALLED:
courier-imap
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 28 not upgraded.
Need to get 0B/580kB of archives. After unpacking 0B will be used.
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 31072 files and directories currently installed.)
Preparing to replace courier-imap 4.1.1.20060828-5 (using .../courier-imap_4.1.1.20060828-5_i386.deb) ...
Stopping Courier IMAP server:Unknown option '-pid='
invoke-rc.d: initscript courier-imap, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping Courier IMAP server:Unknown option '-pid='
invoke-rc.d: initscript courier-imap, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/courier-imap_4.1.1.20060828-5_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/courier-imap_4.1.1.20060828-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack! Something bad happened while installing packages. Trying to recover:
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done