LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-21-2009, 05:19 AM   #1
KOT
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Unhappy courier-imap-ssl Unknown option '-pid=' debian 4.0


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 !
 
Old 03-22-2009, 02:52 PM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Don't know if this is the problem here, but downloading lenny packages to etch doesn't help.
Update your sources.list to oldstable or upgrade to lenny.
Looks to me you had courier-imap-ssl already installed anyway.

Do a "locate prerm|grep ssl" and see if there's a prerm script in /var/lib/dpkg/info/.
Add a row "exit 0" after the "set -e" line and try "dpkg --configure -a"

Last edited by makuyl; 03-22-2009 at 02:55 PM.
 
  


Reply

Tags
debian


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
courier imap ssl with virtual hosts danboland Linux - Security 1 10-25-2007 03:54 AM
courier imap ssl with virtual hosts danboland Linux - Server 1 10-24-2007 04:29 PM
[ERROR] Setting up courier-imap-ssl c0nsur Linux - Newbie 5 10-01-2007 09:19 AM
Courier-IMAP on Debian wont login vladimir-dk Linux - Software 0 07-03-2004 07:25 AM
Configuring courier-imap courier-pop redsky Debian 1 06-02-2004 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration