I am trying to install Courier imap-ssl and that what i have:
apt-get install courier-imap-ssl
Code:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
courier-ssl
Suggested packages:
courier-doc imap-client
The following packages will be upgraded:
courier-imap-ssl courier-ssl
2 upgraded, 0 newly installed, 0 to remove and 268 not upgraded.
1 not fully installed or removed.
Need to get 89.2kB of archives.
After unpacking 598kB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://debian.co.il stable/main courier-ssl 0.60.0-2 [60.9kB]
Get:2 http://debian.co.il stable/main courier-imap-ssl 4.4.0-2 [28.3kB]
Fetched 89.2kB in 0s (349kB/s)
Preconfiguring packages ...
(Reading database ... 38178 files and directories currently installed.)
Preparing to replace courier-ssl 0.53.3-5 (using .../courier-ssl_0.60.0-2_i386.deb) ...
Unpacking replacement courier-ssl ...
Selecting previously deselected package courier-imap-ssl.
Preparing to replace courier-imap-ssl 4.1.1.20060828-5 (using .../courier-imap-ssl_4.4.0-2_i386.deb) ...
Stopping Courier IMAP-SSL server:Unknown option '-pid='
invoke-rc.d: initscript courier-imap-ssl, 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-SSL server:Unknown option '-pid='
invoke-rc.d: initscript courier-imap-ssl, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/courier-imap-ssl_4.4.0-2_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Starting Courier IMAP-SSL server:Unknown option '-pid='
invoke-rc.d: initscript courier-imap-ssl, 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-imap-ssl_4.4.0-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
UNINSTALLING IT GIVING ME ERROR:
Code:
Setting up courier-imap-ssl (4.1.1.20060828-5)
Removing courier-imap-ssl ...
Stopping Courier IMAP-SSL server:Unknown option '-pid='
invoke-rc.d: initscript courier-imap-ssl, action "stop" failed.
dpkg: error processing courier-imap-ssl (--purge):
subprocess pre-removal script returned error exit status 1
Starting Courier IMAP-SSL server:Unknown option '-pid='
invoke-rc.d: initscript courier-imap-ssl, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
courier-imap-ssl
I tried to:
dpkg --purge courier-imap-ssl
Code:
dpkg: error processing courier-imap-ssl (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
courier-imap-ssl
Also apt-get -f install giving me same error..
Now im stuck with failure courier-imap
Please help !