在Centos 9上,当我试图将certbot (sudo yum install certbot
)安装到服务器上时,它会返回:
Error:
Problem: package certbot-1.22.0-1.el8.noarch requires python3-certbot = 1.22.0-1.el8, but none of the providers can be installed
- conflicting requests
- nothing provides python3.6dist(setuptools) >= 39.0.1 needed by python3-certbot-1.22.0-1.el8.noarch
- nothing provides python3.6dist(cryptography) >= 2.5.0 needed by python3-certbot-1.22.0-1.el8.noarch
- nothing provides python3.6dist(configobj) >= 5.0.6 needed by python3-certbot-1.22.0-1.el8.noarch
- nothing provides python3.6dist(distro) >= 1.0.1 needed by python3-certbot-1.22.0-1.el8.noarch
- nothing provides /usr/bin/python3.6 needed by python3-certbot-1.22.0-1.el8.noarch
- nothing provides python3.6dist(pytz) needed by python3-certbot-1.22.0-1.el8.noarch
- nothing provides python(abi) = 3.6 needed by python3-certbot-1.22.0-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
我尝试从官方网站安装python3-certbot,但也返回了此错误。此外,我试图设置PowerTools,但似乎回购不存在,所以我不能。有什么方法,我可以安装certbot?
发布于 2022-01-22 17:15:04
Centos 9没有certbot。它不存在于epel中,也不存在于epel中-下一个回购,也不是管理单元。所以,您必须等待,直到Centos 9发布。您在存储库中的包是针对Centos 8的,它们将永远无法工作。
发布于 2022-02-09 13:01:13
现在没有dnf软件包了,只是一个简单的包。请参阅:
https://certbot.eff.org/instructions?ws=apache&os=centosrhel8
所有命令行如下:
dnf配置-管理器-启用集的crb
dnf安装https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
dnf安装https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
dnf列表\grep管理单元
dnf安装管理单元
启用系统管理单元
systemctl启动管理单元
systemctl状态管理单元
止动安装芯
-s /var/lib/ /snap /snap
snap安装--经典的certbot
-s /snap/bin/certbot /usr/bin/certbot
systemctl列表定时器
发布于 2022-07-02 00:40:55
我相信这是可以得到的。
yum install -y certbot
或
dnf install -y certbot
https://unix.stackexchange.com/questions/687422
复制相似问题