# Versions dont match...?

**URL:** <https://community.letsencrypt.org/t/versions-dont-match/136103>\
**Category:** Help\
**Created:** [October 15, 2020, 6:12pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103 "2020-10-15T18:12:47Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwardsmarkf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/edwardsmarkf/32/19480_2.png) [@edwardsmarkf](https://community.letsencrypt.org/u/edwardsmarkf)\
**Post date:** [October 15, 2020, 6:12pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/1 "2020-10-15T18:12:48Z")

</div>

hello - its been too long since i have freaked out over a certbot issue, so this is overdue:

> # certbot-auto --version ;
> 
> certbot 1.9.0
> 
> # certbot --version ;
> 
> certbot 1.7.0

do i need to be concerned that the versions do not match?

Centos 8 installation.

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [October 15, 2020, 6:23pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/2 "2020-10-15T18:23:53Z")

</div>

Welcome Back to the Let's Encrypt Community, Mark 🙂

It appears that you have multiple versions of certbot installed. What webserver software are you using?

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [October 15, 2020, 6:27pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/3 "2020-10-15T18:27:51Z")

</div>

> [@edwardsmarkf](#):
>
> do i need to be concerned that the versions do not match?

To answer that **specific** question: no, that's to be expected. `certbot-auto` will (by default at least) always update itself to the most recent version. The regular command `certbot` doesn't auto-update.

To answer your thread more generic: having two certbot installations at the same time is probably not what you want. They might interfere with each other. Perhaps you have multiple cronjobs/systemd timers running to?

Looking at the version of `certbot` and your distribution version, I assume you've installed `certbot` with snap? I would suggest to continue using the certbot snap and keep it up to date by the regular update methods that are available. The certbot-auto script is being deprecated and I would advice to remove it from your system. The certbot snaps are also updated regulary when a new certbot version is released.

---

<div class="post-metadata">

**Author:** ![edwardsmarkf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/edwardsmarkf/32/19480_2.png) [@edwardsmarkf](https://community.letsencrypt.org/u/edwardsmarkf)\
**Post date:** [October 15, 2020, 6:44pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/4 "2020-10-15T18:44:25Z")

</div>

apache version:

> # httpd -v ;
> 
> Server version: Apache/2.4.37 (centos)  
> Server built: Sep 15 2020 15:41:16

---

<div class="post-metadata">

**Author:** ![edwardsmarkf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/edwardsmarkf/32/19480_2.png) [@edwardsmarkf](https://community.letsencrypt.org/u/edwardsmarkf)\
**Post date:** [October 15, 2020, 6:45pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/5 "2020-10-15T18:45:12Z")

</div>

certbot installation:

> dnf -y install certbot ;

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [October 15, 2020, 6:46pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/6 "2020-10-15T18:46:36Z")

</div>

@Osiris is way ahead of me. 🙂

You would probably benefit from installing certbot via snap if you have not already done so. Part of that installation involves removing old certbot versions.

> If you have any Certbot packages installed using an OS package manager like apt, dnf, or yum, you should remove them before installing the Certbot snap to ensure that when you run the command certbot the snap is used rather than the installation from your OS package manager. The exact command to do this depends on your OS, but common examples are sudo apt-get remove certbot, **sudo dnf remove certbot** , or sudo yum remove certbot.

[https://certbot.eff.org/lets-encrypt/centosrhel8-apache](https://certbot.eff.org/lets-encrypt/centosrhel8-apache)

---

<div class="post-metadata">

**Author:** ![edwardsmarkf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/edwardsmarkf/32/19480_2.png) [@edwardsmarkf](https://community.letsencrypt.org/u/edwardsmarkf)\
**Post date:** [October 15, 2020, 7:09pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/7 "2020-10-15T19:09:55Z")

</div>

dumb question, but do we even need _ **certbot-auto** _ anymore since it is being deprecated?

is there an equivalent command just by using _ **certbot** _?

i am thinking just stick with dnf/yum since that rarely (if ever) has any issues, unless using snap (& newer versions) might be beneficial in some way.

EDIT: _ **snap** _ looks pretty [straighforward](https://snapcraft.io/docs/installing-snap-on-fedora): i figure if its installed with dnf(yum) its perfectly acceptable. using rpm packages in the past has gotten me into trouble.

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [October 15, 2020, 7:37pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/8 "2020-10-15T19:37:04Z")

</div>

> [@edwardsmarkf](#):
>
> dumb question, but do we even need _ **certbot-auto** _ anymore since it is being deprecated?

Nope. A very wise question, actually.

> [@edwardsmarkf](#):
>
> is there an equivalent command just by using _ **certbot** _ ?

Equivalent to what?

> [@edwardsmarkf](#):
>
> i am thinking just stick with dnf/yum since that rarely (if ever) has any issues, unless using snap (& newer versions) might be beneficial in some way.

I believe that snap is the direction that certbot is leaning for future releases (likely due to its OS-agnostic nature).

> [@edwardsmarkf](#):
>
> EDIT: _ **snap** _ looks pretty [straighforward](https://snapcraft.io/docs/installing-snap-on-fedora): i figure if its installed with dnf(yum) its perfectly acceptable. using rpm packages in the past has gotten me into trouble.

Not exactly sure how to advise here. You could just try it and see what happens. The general trend I've noticed is overwhelmingly positive.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [October 15, 2020, 7:38pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/9 "2020-10-15T19:38:24Z")

</div>

> [@edwardsmarkf](#):
>
> is there an equivalent command just by using _ **certbot** _ ?

certbot-auto is just a wrapper script around the Python certbot program. It does have a few script-specific options, but you wouldn't need those options with the regular certbot program anyway. All other command line options for certbot-auto are passed through to the certbot program. So besides that the commands `certbot` and `certbot-auto` are equal.

---

<div class="post-metadata">

**Author:** ![edwardsmarkf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/edwardsmarkf/32/19480_2.png) [@edwardsmarkf](https://community.letsencrypt.org/u/edwardsmarkf)\
**Post date:** [October 17, 2020, 7:19pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/10 "2020-10-17T19:19:39Z")

</div>

[interesting opinion on using Snap.](https://forums.centos.org/viewtopic.php?f=54&t=76048&p=319777#p319777)

this worked fine for installing 1.9 as per the Snap link:

> dnf --enablerepo=epel-testing install certbot ;

KernelOops also posted an interesting opinion about using Certbot in the same forum and recommended using [dehydrated](https://github.com/dehydrated-io/dehydrated) and [acme.sh](https://github.com/acmesh-official/acme.sh) instead.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [October 17, 2020, 7:38pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/11 "2020-10-17T19:38:54Z")

</div>

> [@edwardsmarkf](#):
>
> KernelOops also posted an interesting opinion about using Certbot (…)

Too bad I didn't see any arguments. Personally, I would never base something _just_ on an opinion. I might be persuaded by arguments though.

Also interesting why he/she only lists those two alternatives, as there are many, MANY other clients available: [ACME Client Implementations - Let's Encrypt](https://letsencrypt.org/docs/client-options/)

Also, there's much more experience with certbot on this Community, so for other clients like dehydrated or acme.sh you might be on your own.

---

<div class="post-metadata">

**Author:** ![edwardsmarkf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/edwardsmarkf/32/19480_2.png) [@edwardsmarkf](https://community.letsencrypt.org/u/edwardsmarkf)\
**Post date:** [October 17, 2020, 11:01pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/12 "2020-10-17T23:01:21Z")

</div>

Yes Osiris i completely agree with you. and since the Centos community gave me an alternative install of Certbot to the latest version, that is the way i am going.

Snap looks interesting, although i was reluctant to install something that only maintains one product, especially since that yum/dnf install command worked great.

LetsEncrypt and Centos is certainly very well supported in this forum for sure. even my silly questions have been answered, with much patience & TLC i might add.

---

<div class="post-metadata">

**Author:** ![edwardsmarkf](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/edwardsmarkf/32/19480_2.png) [@edwardsmarkf](https://community.letsencrypt.org/u/edwardsmarkf)\
**Post date:** [October 24, 2020, 4:07pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/13 "2020-10-24T16:07:39Z")

</div>

somehow we all seemed to miss my favorite time-tested strategy: do nothing and instead go outside and enjoy life. this AM (2020-10-24) i received an auto-email from Virtualmin:

```
An update to certbot from 1.7.0-1.el7 to 1.9.0-1.el7 is needed.
This update has been successfully installed.

An update to python2-acme from 1.7.0-1.el7 to 1.9.0-1.el7 is needed.
This update has been successfully installed.

An update to python2-certbot-apache from 1.7.0-1.el7 to 1.9.0-1.el7 is needed.
This update has been successfully installed.

```

😁

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [November 23, 2020, 4:07pm UTC](https://community.letsencrypt.org/t/versions-dont-match/136103/14 "2020-11-23T16:07:59Z")

</div>

Closed on November 23, 2020, 4:07pm UTC

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