Unable to install cerbot on RHEL7

Following these instructions: https://certbot.eff.org/#centosrhel7-apache

host: cph-devapps.temple.edu

yum install python-certbot-apache

Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos,
: subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
No package python-certbot-apache available.
Error: Nothing to do

So… unable to instal. Please advise.

Did you enable the EPEL repository as those instructions indicated?

Yes. First I get this:

#yum -y install yum-utils
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos,
: subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Package yum-utils-1.1.31-40.el7.noarch already installed and latest version
Nothing to do

The this:

yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

Loaded plugins: langpacks, product-id, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.

Jeremy Shafer

Assistant Professor

Management Information Systems

Fox School of Business

Temple University

(215) 204-6432

And then, finally…

#sudo yum install python-certbot-apache
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos,
: subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
No package python-certbot-apache available.
Error: Nothing to do

Jeremy Shafer

Assistant Professor

Management Information Systems

Fox School of Business

Temple University

(215) 204-6432

What does yum repolist say? Can you yum install fortune-mod? (the legendary fortune cookie generator, like certbot available only in EPEL)

If you do a ‘yum list|grep certbot’, you will find the packages now start with python2…

Therefore install python2-certbot-apache

Good catch. I’m not sure why this package doesn’t provide python-certbot-apache as an alias as most RHEL users would expect for python packages. (The python2- prefix is not used in mainline RHEL and just sneaks its way in from recent Fedora packages.)

@schoen @bmw : could these instructions be changed to suggest yum install certbot-apache instead? That is a valid alias that will work on both Fedora and EPEL and is a bit nicer to type. :slight_smile:

EDIT: Pull request is best request. :smiley:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.