VersionConflict error after update

This morning I updated certbot on my CentOS Linux release 7.5.1804 (Core).

> yum upgrade certbot-apache

---> Package python2-certbot-apache.noarch 0:1.0.0-1.el7 will be updated
---> Package python2-certbot-apache.noarch 0:1.3.0-1.el7 will be an update

This worked fine.

I then ran

> certbot renew

And received this output:

An unexpected error occurred:
VersionConflict: (certbot 0.39.0 (/usr/lib/python2.7/site-packages), Requirement.parse('certbot>=1.1.0'))
Please see the logfile '/tmp/tmpmR_l0F/log' for more details.

The log contained:

2020-03-30 09:23:30,411:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/certbot", line 9, in <module>
    load_entry_point('certbot==0.39.0', 'console_scripts', 'certbot')()
  File "/usr/lib/python2.7/site-packages/certbot/", line 1348, in main
    plugins = plugins_disco.PluginsRegistry.find_all()
  File "/usr/lib/python2.7/site-packages/certbot/plugins/", line 208, in find_all
    plugin_ep = PluginEntryPoint(entry_point)
  File "/usr/lib/python2.7/site-packages/certbot/plugins/", line 50, in __init__
    self.plugin_cls = entry_point.load()
  File "/usr/lib/python2.7/site-packages/", line 2259, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.7/site-packages/", line 2272, in require
  File "/usr/lib/python2.7/site-packages/", line 630, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
VersionConflict: (certbot 0.39.0 (/usr/lib/python2.7/site-packages), Requirement.parse('certbot>=1.1.0'))
2020-03-30 09:23:30,411:ERROR:certbot.log:An unexpected error occurred:

On a whim, I tried yum install python3 but this did not resolve the error.

1 Like


It seems like you only updated certbot apache plugin, not certbot itself.
Try to also update certbot (or run yum update to update all packages):
yum upgrade certbot

Thank you


I just wanted to say thank you. That solved it. It was a gap in my knowledge. I didn’t even know that certbot was a separate package. Thanks!


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