arnoldbird
arnoldbird

Reputation: 954

httpd won't upgrade on RHEL 7: "Package(s) httpd available, but not installed."

When I attempt to upgrade Apache...

cd /etc/yum.repos.d && wget https://repo.codeit.guru/codeit.el7.repo
yum install -y epel-release
yum upgrade httpd

...the output says "Package(s) httpd available, but not installed."

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 "Package(s) httpd available, but not installed."

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.

Upvotes: 0

Views: 1268

Answers (1)

Mike Guerette
Mike Guerette

Reputation: 546

It's not clear where Apache was sourced from, but the recommended practice is to use Red Hat Software Collections for RHEL 7 (Application Streams for RHEL 8). See the list here. If your Apache was installed from Software Collections, then you'd want to update via that process.

Software Collections are part of the subscription and are fully supported by Red Hat.

Upvotes: 1

Related Questions