MailScanner problem - (nightmare) PLEASE HELP

Rick Bragg rbragg at gmnet.net
Tue Apr 29 21:05:05 UTC 2008


OK, I tried that, I added the "exit 0" to line 124 of the init script
for mailscanner, and that seemed to go ok, until it crashed again. Now
it seems that anything I do is messed up.

I don't know where I am, but here are everything that I tried:

$ sudo apt-get purge mailscanner 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package mailscanner needs to be reinstalled, but I can't find an archive for it.

$ sudo apt-get install mailscanner 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package mailscanner needs to be reinstalled, but I can't find an archive for it.

$ sudo dpkg -i mailscanner_4.68.8-1_all.deb
(Reading database ... 27655 files and directories currently installed.)
Preparing to replace mailscanner 4.68.8-1 (using mailscanner_4.68.8-1_all.deb) ...
invoke-rc.d: initscript mailscanner, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
invoke-rc.d: initscript mailscanner, action "stop" failed.
dpkg: error processing mailscanner_4.68.8-1_all.deb (--install):
 subprocess new pre-removal script returned error exit status 1
invoke-rc.d: initscript mailscanner, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 mailscanner_4.68.8-1_all.deb


Please Help.  How can I simply get rid of mailscanner and start over?

Thanks!
rick









On Tue, 2008-04-29 at 13:49 -0400, Mike Smith wrote:
> I had the same issue, grabbed 4.68.8-1 from Debian Unstable
> (http://packages.debian.org/sid/mailscanner) and upgraded it with:
> 
> sudo dpkg -i --force-overwrite mailscanner_4.68.8-1_all.deb
> 
> This got it working (mostly). I use MailWatch (Blacklist/Whitelist),
> but it's not connecting to mysql. Everything else seems functional so
> far.
> 
> See: https://bugs.launchpad.net/ubuntu/+source/mailscanner/+bug/204546
> 
> and
> 
> https://bugs.launchpad.net/ubuntu/+source/mailscanner/+bug/195260
> 
> --
> Mike
> 





More information about the ubuntu-users mailing list