apt-get install ssmtp
Fred Roller
froller at tnclimited.com
Fri Sep 11 11:56:43 UTC 2009
Kaushal Shriyan wrote:
> Hi,
>
> I am actually facing the below pastebin issue on all my ubuntu hosts
> 8.04 (hardy)
>
> http://paste.ubuntu.com/268998/
>
> Please suggest/guide
>
> Thanks,
>
> Kaushal
>
>
...
Package exim4-daemon-light which provides mail-transport-agent is to be
removed.
mailx depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is to be removed.
Removing exim4-daemon-light ...
* Stopping MTA /sbin/start-stop-daemon: warning: failed to kill 3668: No such process
invoke-rc.d: initscript exim4, action "stop" failed.
dpkg: error processing exim4-daemon-light (--remove):
subprocess pre-removal script returned error exit status 3
...
Looks to me like "ssmtp" is:
a. looking for "exim4" and "mail-transport-agent" and is not bringing them in as a dependency. You could
try maunually installing them before running the "ssmtp" install.
b. script looks like it tried stop MTA and assumed it was PID 3668 and exited status 3. Check with:
sudo ps aux |grep MTA
and see if a process for MTA comes up. If it does, what is the PID. If it doesn't you may need to go
into the initscript for exim4 and examine the stop procedure or insure the MTA is running when you try
to install "ssmtp" so that it has something to turn off. Hope this helped some.
--
Fred
www.fwrgallery.com
"Life is like linux, simple. If you are fighting it you are doing something wrong."
More information about the ubuntu-users
mailing list