title: installing mod_ssl amazon linux
body: <p>I'm simply trying to install <code>mod_ssl</code> on a CentOS server. Doing a straightforward <code>sudo yum install mod_ssl</code> would return an error:</p>
  
  <blockquote>
    <p>Error: httpd24-tools conflicts with
    httpd-tools-2.2.25-1.0.amzn1.x86_64</p>
    
    <p>Error: httpd24 conflicts with httpd-2.2.25-1.0.amzn1.x86_64</p>
    
    <p>You could try using --skip-broken to work around the problem</p>
    
    <p>You could try running: rpm -Va --nofiles --nodigest</p>
  </blockquote>
  
  <p>I tried to remove <code>httpd-tools</code> by: <code>sudo yum remove httpd-tools-2.2.25-1.0.amzn1.x86_64</code> but no luck. Is there any things that I missed?</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>I did <code>sudo yum -v remove httpd-tools-2.2.25-1.0.amzn1.x86_64</code> and outputs this:</p>
  
  <pre><code>Yum Version: 3.2.29
  rpmdb time: 0.000
  Setting up Remove Process
  No Match for argument: httpd-tools-2.2.25-1.0.amzn1.x86_64
  Setting up Package Sacks
  amzn-main                                                                                                                         | 2.1 kB     00:00
  amzn-updates                                                                                                                      | 2.3 kB     00:00
  pkgsack time: 0.330
  Package(s) httpd-tools-2.2.25-1.0.amzn1.x86_64 available, but not installed.
  No Packages marked for removal
  </code></pre>
  
  <p>Doing <code>yum search mod_ssl</code> outputs this:</p>
  
  <p><img src="https://i.stack.imgur.com/gInZC.png" alt="enter image description here"></p>