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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-29-2007, 09:34 AM
|
#1
|
Member
Registered: Aug 2004
Posts: 34
Rep:
|
[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.
|
|
|
09-30-2007, 09:18 AM
|
#2
|
Member
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213
Rep:
|
Try with
Code:
dpkg --force --purge courier-imap-ssl
|
|
|
10-01-2007, 07:46 AM
|
#3
|
Member
Registered: Aug 2004
Posts: 34
Original Poster
Rep:
|
Quote:
Originally Posted by emi_ramo
Try with
Code:
dpkg --force --purge courier-imap-ssl
|
Nope its always giving the same error 
|
|
|
10-01-2007, 07:51 AM
|
#4
|
Member
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213
Rep:
|
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
|
|
|
10-01-2007, 08:17 AM
|
#5
|
Member
Registered: Aug 2004
Posts: 34
Original Poster
Rep:
|
Quote:
Originally Posted by emi_ramo
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
|
|
|
10-01-2007, 08:19 AM
|
#6
|
Member
Registered: Aug 2004
Posts: 34
Original Poster
Rep:
|
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)
|
|
|
All times are GMT -5. The time now is 03:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|