title: httpd won't upgrade on RHEL 7: "Package(s) httpd available, but not installed."
body: <p>When I attempt to upgrade Apache...</p>
  <pre><code>cd /etc/yum.repos.d &amp;&amp; wget https://repo.codeit.guru/codeit.el7.repo
  yum install -y epel-release
  yum upgrade httpd
  </code></pre>
  <p>...the output says &quot;Package(s) httpd available, but not installed.&quot;</p>
  <p>Actually, the above commands worked fine on my staging server, and I got the desired upgrade. But then when I tried the same steps on my production server, I see &quot;Package(s) httpd available, but not installed.&quot;</p>
  <p>Variations of this issue appear elsewhere on stackoverflow and other forums, but it appears the proper solution changes frequently, and it is difficult to rely on past answers that in many cases appear to reference defunct mirrors.</p>