OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Removing Sendmail RPM
From: Morgan Nightbear (morgannightbear.net)
Date: Sun Dec 31 2000 - 16:04:20 CST


At 10:18 PM 12/31/00 +0100, Simon J Mudd wrote:
>jaygnu.org (James Youngman) writes:
>
> > "+N6REJ" <n6rejtcsn.net> writes:
> >
> > > When attempting to remove the sendmail RPM's I get the following error
> > > [rootkahoolawe RPMS]# rpm -e sendmail
> > > error: removing these packages would break dependencies:
> > > smtpdaemon is needed by fetchmail-5.3.1-1
> > > smtpdaemon is needed by mutt-1.0.1i-6
> > > smtpdaemon is needed by nmh-1.0.3-6x
> > >
> > > is it ok to remove those listed files?
> > > I am using postfix
> >
> > Put this in /etc/rpmrc :-
> >
> > provides: smtpdaemon
>
>This is just another hack. IMHO RH ought to be a little more liberal
>about allowing other MTAs to be installed and to provide information
>on what they need to provide so that they don't get overwritten
>by the upgrade procedure.
         Actually you do need to remove sendmail, exim and any other
package that provides an smtpdaemon before installing postfix.

         RedHat will allow you to install both sendmail and exim even
though they both provide an smtpdaemon.

         If the packages aren't installed on the system, then RedHat
shouldn't try and upgrade them. If you don't use the RedHat package to
install postfix, then you will need to make sure the upgrade stuff doesn't
try to install another MTA. This includes the up2date utility.

         I had removed sendmail before installing postfix, but forgot to
remove exim. When up2date ran, it updated exim and wiped out some of the
postfix binaries. Nothing a reinstall (took a few seconds) didn't fix.

-----Morgan