Getting error when installing certbot as per directions


#1

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: joenobel.com or www.joenobel.com

I ran this command: sudo ./certbot-auto --apache

It produced this output: whole session is at the end of the post. see below

My web server is (include version):

Apache 2.4.6-40.el7.centos.4
MySQL 5.5.52-1.el7
PHP 5.6.33-1.el7.remi
Perl 5.16.3-286.el7
Kernel 3.10.0-327.36.3.el7.centos.plus.x86_64

The operating system my web server runs on is (include version):

3.10.0-327.36.3.e
7.centos.plus.x86_64

My hosting provider, if applicable, is: eapps

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): not using control panel, using ssh

-bash-4.2$ wget https://dl.eff.org/certbot-auto
–2018-09-29 11:51:18-- https://dl.eff.org/certbot-auto
Resolving dl.eff.org (dl.eff.org)… 151.101.56.201, 2a04:4e42:e::201
Connecting to dl.eff.org (dl.eff.org)|151.101.56.201|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 62299 (61K) [application/octet-stream]
Saving to: ‘certbot-auto’

100%[======================================>] 62,299 --.-K/s in 0.003s

2018-09-29 11:51:19 (19.5 MB/s) - ‘certbot-auto’ saved [62299/62299]

-bash-4.2$ chmod a+x certbot-auto
-bash-4.2$ ls -al certbot-auto
-rwxrwxr-x 1 webadmin webadmin 62299 Sep 28 16:00 certbot-auto
-bash-4.2$ pwd
/var/www/webadmin/data
-bash-4.2$ sudo ./path/to/certbot-auto --apache
[sudo] password for webadmin:
sudo: ./path/to/certbot-auto: command not found
-bash-4.2$ sudo ./certbot-auto --apache
Bootstrapping dependencies for RedHat-based OSes… (you can skip this with --no-bootstrap)
yum is /bin/yum
yum is hashed (/bin/yum)
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile

  • base: repo001.vm.eapps.com
  • eApps: repo001.vm.eapps.com
  • extras: repo001.vm.eapps.com
  • remi: repo1.ash.innoscale.net
  • remi-php56: repo1.ash.innoscale.net
  • remi-safe: repo1.ash.innoscale.net
  • updates: repo001.vm.eapps.com
    1 packages excluded due to repository priority protections
    Resolving Dependencies
    –> Running transaction check
    —> Package augeas-libs.x86_64 0:1.4.0-2.el7 will be updated
    –> Processing Dependency: augeas-libs = 1.4.0-2.el7 for package: augeas-1.4.0-2.el7.x86_64
    —> Package augeas-libs.x86_64 0:1.4.0-5.el7_5.1 will be an update
    —> Package ca-certificates.noarch 0:2015.2.6-70.1.el7_2 will be updated
    —> Package ca-certificates.noarch 0:2018.2.22-70.0.el7_5 will be an update
    –> Processing Dependency: p11-kit-trust >= 0.23.5 for package: ca-certificates-2018.2.22-70.0.el7_5.noarch
    –> Processing Dependency: p11-kit >= 0.23.5 for package: ca-certificates-2018.2.22-70.0.el7_5.noarch
    —> Package gcc.x86_64 0:4.8.5-28.el7_5.1 will be installed
    –> Processing Dependency: libgomp = 4.8.5-28.el7_5.1 for package: gcc-4.8.5-28.el7_5.1.x86_64
    –> Processing Dependency: cpp = 4.8.5-28.el7_5.1 for package: gcc-4.8.5-28.el7_5.1.x86_64
    –> Processing Dependency: libgcc >= 4.8.5-28.el7_5.1 for package: gcc-4.8.5-28.el7_5.1.x86_64
    –> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-28.el7_5.1.x86_64
    –> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-28.el7_5.1.x86_64
    –> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-28.el7_5.1.x86_64
    —> Package libffi-devel.x86_64 0:3.0.13-18.el7 will be installed
    –> Processing Dependency: libffi = 3.0.13-18.el7 for package: libffi-devel-3.0.13-18.el7.x86_64
    —> Package mod_ssl.x86_64 1:2.4.6-40.el7.centos.4 will be updated
    —> Package mod_ssl.x86_64 1:2.4.6-80.el7.centos will be an update
    –> Processing Dependency: httpd = 2.4.6-80.el7.centos for package: 1:mod_ssl-2.4.6-80.el7.centos.x86_64
    —> Package openssl.x86_64 1:1.0.2k-8.el7 will be updated
    —> Package openssl.x86_64 1:1.0.2k-12.el7 will be an update
    –> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-12.el7 for package: 1:openssl-1.0.2k-12.el7.x86_64
    —> Package openssl-devel.x86_64 1:1.0.2k-12.el7 will be installed
    –> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-12.el7.x86_64
    –> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-12.el7.x86_64
    —> Package python-devel.x86_64 0:2.7.5-68.el7 will be installed
    –> Processing Dependency: python(x86-64) = 2.7.5-68.el7 for package: python-devel-2.7.5-68.el7.x86_64
    —> Package python-tools.x86_64 0:2.7.5-68.el7 will be installed
    –> Processing Dependency: tkinter = 2.7.5-68.el7 for package: python-tools-2.7.5-68.el7.x86_64
    —> Package python-virtualenv.noarch 0:15.1.0-2.el7 will be installed
    —> Package python2-pip.noarch 0:8.1.2-6.el7 will be installed
    —> Package redhat-rpm-config.noarch 0:9.1.0-80.el7.centos will be installed
    –> Processing Dependency: dwz >= 0.4 for package: redhat-rpm-config-9.1.0-80.el7.centos.noarch
    –> Processing Dependency: perl-srpm-macros for package: redhat-rpm-config-9.1.0-80.el7.centos.noarch
    –> Running transaction check
    —> Package augeas.x86_64 0:1.4.0-2.el7 will be updated
    —> Package augeas.x86_64 0:1.4.0-5.el7_5.1 will be an update
    —> Package cpp.x86_64 0:4.8.5-28.el7_5.1 will be installed
    —> Package dwz.x86_64 0:0.11-3.el7 will be installed
    —> Package glibc-devel.x86_64 0:2.17-222.el7 will be installed
    –> Processing Dependency: glibc-headers = 2.17-222.el7 for package: glibc-devel-2.17-222.el7.x86_64
    –> Processing Dependency: glibc = 2.17-222.el7 for package: glibc-devel-2.17-222.el7.x86_64
    –> Processing Dependency: glibc-headers for package: glibc-devel-2.17-222.el7.x86_64
    —> Package httpd.x86_64 0:2.4.6-40.el7.centos.4 will be updated
    —> Package httpd.x86_64 0:2.4.6-80.el7.centos will be an update
    –> Processing Dependency: httpd-tools = 2.4.6-80.el7.centos for package: httpd-2.4.6-80.el7.centos.x86_64
    —> Package krb5-devel.x86_64 0:1.15.1-19.el7 will be installed
    –> Processing Dependency: libkadm5(x86-64) = 1.15.1-19.el7 for package: krb5-devel-1.15.1-19.el7.x86_64
    –> Processing Dependency: krb5-libs(x86-64) = 1.15.1-19.el7 for package: krb5-devel-1.15.1-19.el7.x86_64
    –> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-19.el7.x86_64
    –> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-19.el7.x86_64
    –> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-19.el7.x86_64
    –> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-19.el7.x86_64
    —> Package libffi.x86_64 0:3.0.13-16.el7 will be updated
    —> Package libffi.x86_64 0:3.0.13-18.el7 will be an update
    —> Package libgcc.x86_64 0:4.8.5-4.el7 will be updated
    —> Package libgcc.x86_64 0:4.8.5-28.el7_5.1 will be an update
    —> Package libgomp.x86_64 0:4.8.5-4.el7 will be updated
    —> Package libgomp.x86_64 0:4.8.5-28.el7_5.1 will be an update
    —> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
    —> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
    —> Package openssl-libs.x86_64 1:1.0.2k-8.el7 will be updated
    —> Package openssl-libs.x86_64 1:1.0.2k-12.el7 will be an update
    —> Package p11-kit.x86_64 0:0.20.7-3.el7 will be updated
    —> Package p11-kit.x86_64 0:0.23.5-3.el7 will be an update
    —> Package p11-kit-trust.x86_64 0:0.20.7-3.el7 will be updated
    —> Package p11-kit-trust.x86_64 0:0.23.5-3.el7 will be an update
    —> Package perl-srpm-macros.noarch 0:1-8.el7 will be installed
    —> Package python.x86_64 0:2.7.5-39.el7_2 will be updated
    —> Package python.x86_64 0:2.7.5-68.el7 will be an update
    –> Processing Dependency: python-libs(x86-64) = 2.7.5-68.el7 for package: python-2.7.5-68.el7.x86_64
    —> Package tkinter.x86_64 0:2.7.5-68.el7 will be installed
    –> Processing Dependency: libtk8.5.so()(64bit) for package: tkinter-2.7.5-68.el7.x86_64
    –> Processing Dependency: libtcl8.5.so()(64bit) for package: tkinter-2.7.5-68.el7.x86_64
    –> Processing Dependency: libTix.so()(64bit) for package: tkinter-2.7.5-68.el7.x86_64
    —> Package zlib-devel.x86_64 0:1.2.7-17.el7 will be installed
    –> Processing Dependency: zlib = 1.2.7-17.el7 for package: zlib-devel-1.2.7-17.el7.x86_64
    –> Running transaction check
    —> Package glibc.x86_64 0:2.17-106.el7_2.8 will be updated
    –> Processing Dependency: glibc = 2.17-106.el7_2.8 for package: glibc-common-2.17-106.el7_2.8.x86_64
    —> Package glibc.x86_64 0:2.17-222.el7 will be an update
    —> Package glibc-headers.x86_64 0:2.17-222.el7 will be installed
    –> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
    –> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
    —> Package httpd-tools.x86_64 0:2.4.6-40.el7.centos.4 will be updated
    —> Package httpd-tools.x86_64 0:2.4.6-80.el7.centos will be an update
    —> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
    —> Package krb5-libs.x86_64 0:1.13.2-12.el7_2 will be updated
    —> Package krb5-libs.x86_64 0:1.15.1-19.el7 will be an update
    —> Package libcom_err-devel.x86_64 0:1.42.9-12.el7_5 will be installed
    –> Processing Dependency: libcom_err(x86-64) = 1.42.9-12.el7_5 for package: libcom_err-devel-1.42.9-12.el7_5.x86_64
    —> Package libkadm5.x86_64 0:1.15.1-19.el7 will be installed
    —> Package libselinux-devel.x86_64 0:2.5-12.el7 will be installed
    –> Processing Dependency: libselinux(x86-64) = 2.5-12.el7 for package: libselinux-devel-2.5-12.el7.x86_64
    –> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-12.el7.x86_64
    –> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-12.el7.x86_64
    –> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-12.el7.x86_64
    —> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
    —> Package python-libs.x86_64 0:2.7.5-39.el7_2 will be updated
    —> Package python-libs.x86_64 0:2.7.5-68.el7 will be an update
    —> Package tcl.x86_64 1:8.5.13-8.el7 will be installed
    —> Package tix.x86_64 1:8.4.3-12.el7 will be installed
    —> Package tk.x86_64 1:8.5.13-6.el7 will be installed
    –> Processing Dependency: libXft.so.2()(64bit) for package: 1:tk-8.5.13-6.el7.x86_64
    —> Package zlib.x86_64 0:1.2.7-15.el7 will be updated
    —> Package zlib.x86_64 0:1.2.7-17.el7 will be an update
    –> Running transaction check
    —> Package glibc-common.x86_64 0:2.17-106.el7_2.8 will be updated
    —> Package glibc-common.x86_64 0:2.17-222.el7 will be an update
    —> Package glibc-headers.x86_64 0:2.17-222.el7 will be installed
    –> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
    –> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
    —> Package libXft.x86_64 0:2.3.2-2.el7 will be installed
    –> Processing Dependency: libXrender.so.1()(64bit) for package: libXft-2.3.2-2.el7.x86_64
    —> Package libcom_err.x86_64 0:1.42.9-7.el7 will be updated
    –> Processing Dependency: libcom_err(x86-64) = 1.42.9-7.el7 for package: e2fsprogs-libs-1.42.9-7.el7.x86_64
    –> Processing Dependency: libcom_err(x86-64) = 1.42.9-7.el7 for package: e2fsprogs-1.42.9-7.el7.x86_64
    –> Processing Dependency: libcom_err(x86-64) = 1.42.9-7.el7 for package: libss-1.42.9-7.el7.x86_64
    —> Package libcom_err.x86_64 0:1.42.9-12.el7_5 will be an update
    —> Package libselinux.x86_64 0:2.2.2-6.el7 will be updated
    –> Processing Dependency: libselinux = 2.2.2-6.el7 for package: libselinux-utils-2.2.2-6.el7.x86_64
    –> Processing Dependency: libselinux = 2.2.2-6.el7 for package: libselinux-python-2.2.2-6.el7.x86_64
    —> Package libselinux.x86_64 0:2.5-12.el7 will be an update
    –> Processing Dependency: libsepol(x86-64) >= 2.5-6 for package: libselinux-2.5-12.el7.x86_64
    –> Processing Dependency: libsepol.so.1(LIBSEPOL_1.0)(64bit) for package: libselinux-2.5-12.el7.x86_64
    —> Package libsepol-devel.x86_64 0:2.5-8.1.el7 will be installed
    —> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
    –> Processing Dependency: pcre(x86-64) = 8.32-17.el7 for package: pcre-devel-8.32-17.el7.x86_64
    –> Running transaction check
    —> Package e2fsprogs.x86_64 0:1.42.9-7.el7 will be updated
    —> Package e2fsprogs.x86_64 0:1.42.9-12.el7_5 will be an update
    —> Package e2fsprogs-libs.x86_64 0:1.42.9-7.el7 will be updated
    —> Package e2fsprogs-libs.x86_64 0:1.42.9-12.el7_5 will be an update
    —> Package glibc-headers.x86_64 0:2.17-222.el7 will be installed
    –> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
    –> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
    —> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed
    —> Package libselinux-python.x86_64 0:2.2.2-6.el7 will be updated
    —> Package libselinux-python.x86_64 0:2.5-12.el7 will be an update
    —> Package libselinux-utils.x86_64 0:2.2.2-6.el7 will be updated
    —> Package libselinux-utils.x86_64 0:2.5-12.el7 will be an update
    —> Package libsepol.x86_64 0:2.1.9-3.el7 will be updated
    —> Package libsepol.x86_64 0:2.5-8.1.el7 will be an update
    —> Package libss.x86_64 0:1.42.9-7.el7 will be updated
    —> Package libss.x86_64 0:1.42.9-12.el7_5 will be an update
    —> Package pcre.x86_64 0:8.32-15.el7_2.1 will be updated
    —> Package pcre.x86_64 0:8.32-17.el7 will be an update
    –> Processing Conflict: libselinux-2.5-12.el7.x86_64 conflicts systemd < 219-20
    –> Restarting Dependency Resolution with new changes.
    –> Running transaction check
    —> Package glibc-headers.x86_64 0:2.17-222.el7 will be installed
    –> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
    –> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
    —> Package systemd.x86_64 0:219-19.el7_2.13 will be updated
    –> Processing Dependency: systemd = 219-19.el7_2.13 for package: systemd-sysv-219-19.el7_2.13.x86_64
    –> Processing Dependency: systemd = 219-19.el7_2.13 for package: systemd-python-219-19.el7_2.13.x86_64
    —> Package systemd.x86_64 0:219-57.el7 will be an update
    –> Processing Dependency: systemd-libs = 219-57.el7 for package: systemd-219-57.el7.x86_64
    –> Processing Dependency: liblz4.so.1()(64bit) for package: systemd-219-57.el7.x86_64
    –> Running transaction check
    —> Package glibc-headers.x86_64 0:2.17-222.el7 will be installed
    –> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
    –> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
    —> Package lz4.x86_64 0:1.7.5-2.el7 will be installed
    —> Package systemd-libs.x86_64 0:219-19.el7_2.13 will be updated
    –> Processing Dependency: systemd-libs = 219-19.el7_2.13 for package: libgudev1-219-19.el7_2.13.x86_64
    —> Package systemd-libs.x86_64 0:219-57.el7 will be an update
    —> Package systemd-python.x86_64 0:219-19.el7_2.13 will be updated
    —> Package systemd-python.x86_64 0:219-57.el7 will be an update
    —> Package systemd-sysv.x86_64 0:219-19.el7_2.13 will be updated
    —> Package systemd-sysv.x86_64 0:219-57.el7 will be an update
    –> Running transaction check
    —> Package glibc-headers.x86_64 0:2.17-222.el7 will be installed
    –> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-222.el7.x86_64
    –> Processing Dependency: kernel-headers for package: glibc-headers-2.17-222.el7.x86_64
    —> Package libgudev1.x86_64 0:219-19.el7_2.13 will be updated
    —> Package libgudev1.x86_64 0:219-57.el7 will be an update
    –> Finished Dependency Resolution
    Error: Package: glibc-headers-2.17-222.el7.x86_64 (base)
    Requires: kernel-headers >= 2.2.1
    Error: Package: glibc-headers-2.17-222.el7.x86_64 (base)
    Requires: kernel-headers
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    Could not install OS dependencies. Aborting bootstrap!

#2

Hi,

It seems that you need to install kernel-headers.
Can you please try to run yum -y install kernel-devel and run certbot-auto installation again?

By the way, it seems that you are using centos 7. Do you know you could install certbot directly from yum?

Thank you


#3

Thank you, okay I did that. Here’s the console text:

-bash-4.2$ yum -y install kernel-devel
Loaded plugins: fastestmirror, priorities
You need to be root to perform this command.
-bash-4.2$ sudo yum -y install kernel-devel
[sudo] password for webadmin:
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile

The sudo ./certbot-auto --apache command still produces the same error.

Should I put in a ticket to eapps, or can Let’s Encrypt help me the best?

Thank you,
Joe


#4

Hi,

I could confirm that the plugin / error is due to the package not installed… (And certbot-auto might encounter the same issue as you were trying to install the package)
I strongly suggest you to open a ticket with eapps and ask them if you could disable the “priorities” plugin in yum… which is the one preventing you from install that package.

Thank you


#5

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