LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2007, 09:34 AM   #1
c0nsur
Member
 
Registered: Aug 2004
Posts: 34

Rep: Reputation: 15
Thumbs down [ERROR] Setting up courier-imap-ssl


How can i fix this?

Code:
 apt-get install courier-imap-ssl
Reading package lists... Done
Building dependency tree... Done
courier-imap-ssl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.

Setting up courier-imap-ssl (4.1.1.20060828-5) ...
ERR: config file missing

invoke-rc.d: initscript courier-imap-ssl, action "start" failed.
dpkg: error processing courier-imap-ssl (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 courier-imap-ssl
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg --purge | remove doesn't work either

Thanks for helping.
Luke.
 
Old 09-30-2007, 09:18 AM   #2
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Try with
Code:
dpkg --force --purge courier-imap-ssl
 
Old 10-01-2007, 07:46 AM   #3
c0nsur
Member
 
Registered: Aug 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by emi_ramo View Post
Try with
Code:
dpkg --force --purge courier-imap-ssl
Nope its always giving the same error
 
Old 10-01-2007, 07:51 AM   #4
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Hi consur,
It seems that dpkg is not finding some files it needs and, due to this, it doesn't finishes the remove/install process. Try creating dummy configuration files, like
Code:
touch /etc/courier/imapd-ssl /etc/courier/imapd.cnf /etc/courier/imapd.pem /etc/init.d/courier-imap-ssl

Last edited by emi_ramo; 10-01-2007 at 07:53 AM. Reason: Spellcheck, more files
 
Old 10-01-2007, 08:17 AM   #5
c0nsur
Member
 
Registered: Aug 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by emi_ramo View Post
Hi consur,
It seems that dpkg is not finding some files it needs and, due to this, it doesn't finishes the remove/install process. Try creating dummy configuration files, like
Code:
touch /etc/courier/imapd-ssl /etc/courier/imapd.cnf /etc/courier/imapd.pem /etc/init.d/courier-imap-ssl
sorry i should have specified, i already tried this solution...

here what it gives me:

Code:
server:# touch /etc/courier/imapd-ssl /etc/courier/imapd.cnf /etc/courier/imapd.pem

server:# [apt-get OR dpkg] remove courier-imap-ssl
(Reading database ... 27189 files and directories currently installed.)
Removing courier-imap-ssl ...
ERR: config file missing
invoke-rc.d: initscript courier-imap-ssl, action "stop" failed.
dpkg: error processing courier-imap-ssl (--remove):
 subprocess pre-removal script returned error exit status 1
ERR: config file missing
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
 
Old 10-01-2007, 08:19 AM   #6
c0nsur
Member
 
Registered: Aug 2004
Posts: 34

Original Poster
Rep: Reputation: 15
also, when i install anything else it gives me an error on that...

Code:
apt-get install webalizer
{truncated install output}


Errors were encountered while processing:
 courier-imap-ssl
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
  


Reply



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 configure error??????? namgayp Linux - Server 0 07-27-2007 12:23 AM
courier IMAP error ryedunn Linux - Software 4 10-19-2004 01:56 PM
courier-imap compiling error manish_2479 Linux - Networking 1 09-13-2004 08:51 AM
courier-imap compiling error with authvchkpw manish_2479 Linux - Networking 0 08-30-2004 04:16 AM
courier-imap error newlinuxgeek Linux - Software 3 04-23-2004 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:01 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
Open Source Consulting | Domain Registration