Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install mailscanner using apt-get install mailscanner and I got the following error

Setting up spamassassin (3.3.1-1) ...
Starting SpamAssassin Mail Filter Daemon: child process [21344] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 2588.
invoke-rc.d: initscript spamassassin, action "start" failed.
dpkg: error processing spamassassin (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of mailscanner:
 mailscanner depends on spamassassin (>= 3.1); however:
  Package spamassassin is not configured yet.
dpkg: error processing mailscanner (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 spamassassin
 mailscanner
E: Sub-process /usr/bin/dpkg returned an error code (1)

and when I tried to install spamassassin I got the following error :

Setting up spamassassin (3.3.1-1) ...
Starting SpamAssassin Mail Filter Daemon: child process [21389] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 2588.
invoke-rc.d: initscript spamassassin, action "start" failed.
dpkg: error processing spamassassin (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of mailscanner:
 mailscanner depends on spamassassin (>= 3.1); however:
  Package spamassassin is not configured yet.
dpkg: error processing mailscanner (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 spamassassin
 mailscanner
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am using Ubuntu Server 10.04

share|improve this question
1  
Problem seems to be solved. I did apt-get install --purge spamassassin after stopping the service. –  Harbhag Nov 25 '11 at 7:56
    
Have you tried -f?. I mean 'apt-get -f install mailscaner' –  Javier Rivera Nov 25 '11 at 7:59
    
@Harbhag - could you post that as an answer? –  Blair Mar 17 '12 at 5:09

1 Answer 1

up vote 1 down vote accepted

Problem seems to be solved. I did apt-get install --purge spamassassin after stopping the service.

share|improve this answer
    
Great :) Please mark this question as solved (use the gray/green button left to the answer). –  Rafał Cieślak Mar 22 '12 at 19:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.