按照certbot 网站的sudo dnf install certbot python3-certbot-nginx
建议,尝试在 CentOS 8 上安装 certbot失败,并出现以下错误
Error:
Problem 1: package python3-certbot-nginx-1.3.0-1.el8.noarch requires python3.6dist(certbot) >= 1.1.0, but none of the providers can be installed
- package python3-certbot-nginx-1.3.0-1.el8.noarch requires python3-certbot >= 1.0.0, but none of the providers can be installed
- conflicting requests
- nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
- nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
Problem 2: package certbot-1.3.0-3.el8.noarch requires python3-certbot = 1.3.0-3.el8, but none of the providers can be installed
- conflicting requests
- nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
- nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
正如最后一个错误行所暗示的那样,添加--nobest
到命令中不起作用。
以前安装了 Epel-Release 和 python3。
谁能帮我这个?
您需要启用包含所需依赖项的 PowerTools 存储库: