<div dir="ltr">ugly and fast way rpm -e --nodeps sendmail</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/26 Paul Reilly <span dir="ltr"><<a href="mailto:pareilly@tcd.ie" target="_blank">pareilly@tcd.ie</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello,<br><br>The version of postfix which comes with RHEL 6 is very old, postfix version 2.6, and does not contain the features I want. So I have installed postfix 2.10  from source code.  Next, I would like to remove sendmail from this server, and use the source compiled postfix as our MTA.  However if I try to remove sendmail, yum tries to remove lot's of other critical packages like crontabs and redhat-lsb-core.  How do I remove sendmail and let the package manager know that I have an MTA installed, so it doesn't try and remove these packages?<br>

</div><br><br></div># yum erase sendmail<br>...<br><div>Dependencies Resolved<br><br>==================================================================================================================================================================<br>

 Package                           Arch                 Version                       Repository                                                             Size<br>==================================================================================================================================================================<br>

Removing:<br> sendmail                          x86_64               8.14.4-8.el6                  @rhel-6-server-rpms                                                   1.5 M<br><b>Removing for dependencies:</b><br> cronie                            x86_64               1.4.4-12.el6                  @rhel-6-server-rpms                                                   174 k<br>

 cronie-anacron                    x86_64               1.4.4-12.el6                  @rhel-6-server-rpms                                                    43 k<br> crontabs                          noarch               1.10-33.el6                   @anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2               2.4 k<br>

 libcgroup                         x86_64               0.40.rc1-5.el6                @rhel-6-server-rpms                                                   321 k<br> redhat-lsb-core                   x86_64               4.0-7.el6                     @rhel-x86_64-server-6                                                  22 k<br>

 redhat-lsb-graphics               x86_64               4.0-7.el6                     @rhel-x86_64-server-6                                                 0.0  <br> sysstat                           x86_64               9.0.4-22.el6                  @rhel-6-server-rpms                                                   824 k<br>

<br>Transaction Summary<br>==================================================================================================================================================================<br>Remove        8 Package(s)<br>

<br><br><br><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br><br>Paul<br></font></span></div><div><br></div></div>
<br>_______________________________________________<br>
rhelv6-list mailing list<br>
<a href="mailto:rhelv6-list@redhat.com">rhelv6-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rhelv6-list" target="_blank">https://www.redhat.com/mailman/listinfo/rhelv6-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>