Проблема с обновлением SSL Let’s Encrypt сертификата - отвалился CertBOT.
Re: Проблема с обновлением SSL Let’s Encrypt сертификата - отвалился CertBOT.
покажите полный скрин вывода команды которую вы подаете
-
- Сообщения: 7
- Зарегистрирован: Пн июл 05, 2021 12:58 pm
Re: Проблема с обновлением SSL Let’s Encrypt сертификата - отвалился CertBOT.
ну у меня так же пишет установить certbot, пробовал как в теме
[root@coste ~]# yum clean all
Loaded plugins: fastestmirror, priorities, versionlock
Cleaning repos: brainy-glibc_sb brainy-python3_sb kibana-7.x myrepo-centos
Cleaning up list of fastest mirrors
Other repos take up 159 M of disk space (use --verbose for details)
[root@coste ~]# yum remove -y python3-chardet python3-distro
Loaded plugins: fastestmirror, priorities, versionlock
No Match for argument: python3-chardet
No Match for argument: python3-distro
No Packages marked for removal
[root@coste ~]# yum install certbot
Loaded plugins: fastestmirror, priorities, versionlock
Determining fastest mirrors
brainy-glibc_sb | 2.9 kB 00:00:00
brainy-python3_sb | 2.9 kB 00:00:00
kibana-7.x | 1.3 kB 00:00:00
myrepo-centos | 2.9 kB 00:00:00
(1/4): kibana-7.x/primary | 535 kB 00:00:00
(2/4): brainy-glibc_sb/x86_64/primary_db | 77 kB 00:00:00
(3/4): brainy-python3_sb/x86_64/primary_db | 646 kB 00:00:00
(4/4): myrepo-centos/x86_64/primary_db | 2.6 MB 00:00:00
kibana-7.x 1684/1684
Resolving Dependencies
--> Running transaction check
---> Package certbot.noarch 0:1.11.0-3.brainy.el7 will be installed
--> Processing Dependency: python3-certbot = 1.11.0-3.brainy.el7 for package: certbot-1.11.0-3.brainy.el7.noarch
--> Running transaction check
---> Package python3-certbot.noarch 0:1.11.0-3.brainy.el7 will be installed
--> Processing Dependency: python3-acme >= 1.11.0 for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-parsedatetime for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-distro for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-cloudflare for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-certbot-dns-cloudflare for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Running transaction check
---> Package python3-acme.noarch 0:1.11.0-3.brainy.el7 will be installed
--> Processing Dependency: python3-requests >= 2.6.0 for package: python3-acme-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-requests-toolbelt for package: python3-acme-1.11.0-3.brainy.el7.noarch
---> Package python3-certbot-dns-cloudflare.noarch 0:1.12.0-2.brainy.el7 will be installed
--> Processing Dependency: python3-mock for package: python3-certbot-dns-cloudflare-1.12.0-2.brainy.el7.noarch
---> Package python3-cloudflare.noarch 0:2.1.0-12.brainy.el7 will be installed
--> Processing Dependency: python3-future for package: python3-cloudflare-2.1.0-12.brainy.el7.noarch
---> Package python3-distro.noarch 0:1.3.0-5.brainy.el7 will be installed
---> Package python3-parsedatetime.noarch 0:2.4-10.brainy.el7 will be installed
--> Running transaction check
---> Package python3-future.noarch 0:0.17.1-0.3.brainy.el7 will be installed
---> Package python3-mock.noarch 0:2.0.0-14.el7 will be installed
--> Processing Dependency: python3-pbr for package: python3-mock-2.0.0-14.el7.noarch
---> Package python3-requests.noarch 0:2.22.0-5.el7 will be installed
--> Processing Dependency: python3-chardet >= 3.0.2 for package: python3-requests-2.22.0-5.el7.noarch
---> Package python3-requests-toolbelt.noarch 0:0.8.0-1.el7 will be installed
--> Running transaction check
---> Package python3-chardet.noarch 0:3.0.4-9.el7 will be installed
---> Package python3-pbr.noarch 0:5.1.2-4.el7 will be installed
--> Processing Dependency: git-core for package: python3-pbr-5.1.2-4.el7.noarch
--> Finished Dependency Resolution
Error: Package: python3-pbr-5.1.2-4.el7.noarch (brainy-python3_sb)
Requires: git-core
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@coste ~]# yum clean all
Loaded plugins: fastestmirror, priorities, versionlock
Cleaning repos: brainy-glibc_sb brainy-python3_sb kibana-7.x myrepo-centos
Cleaning up list of fastest mirrors
Other repos take up 159 M of disk space (use --verbose for details)
[root@coste ~]# yum remove -y python3-chardet python3-distro
Loaded plugins: fastestmirror, priorities, versionlock
No Match for argument: python3-chardet
No Match for argument: python3-distro
No Packages marked for removal
[root@coste ~]# yum install certbot
Loaded plugins: fastestmirror, priorities, versionlock
Determining fastest mirrors
brainy-glibc_sb | 2.9 kB 00:00:00
brainy-python3_sb | 2.9 kB 00:00:00
kibana-7.x | 1.3 kB 00:00:00
myrepo-centos | 2.9 kB 00:00:00
(1/4): kibana-7.x/primary | 535 kB 00:00:00
(2/4): brainy-glibc_sb/x86_64/primary_db | 77 kB 00:00:00
(3/4): brainy-python3_sb/x86_64/primary_db | 646 kB 00:00:00
(4/4): myrepo-centos/x86_64/primary_db | 2.6 MB 00:00:00
kibana-7.x 1684/1684
Resolving Dependencies
--> Running transaction check
---> Package certbot.noarch 0:1.11.0-3.brainy.el7 will be installed
--> Processing Dependency: python3-certbot = 1.11.0-3.brainy.el7 for package: certbot-1.11.0-3.brainy.el7.noarch
--> Running transaction check
---> Package python3-certbot.noarch 0:1.11.0-3.brainy.el7 will be installed
--> Processing Dependency: python3-acme >= 1.11.0 for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-parsedatetime for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-distro for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-cloudflare for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-certbot-dns-cloudflare for package: python3-certbot-1.11.0-3.brainy.el7.noarch
--> Running transaction check
---> Package python3-acme.noarch 0:1.11.0-3.brainy.el7 will be installed
--> Processing Dependency: python3-requests >= 2.6.0 for package: python3-acme-1.11.0-3.brainy.el7.noarch
--> Processing Dependency: python3-requests-toolbelt for package: python3-acme-1.11.0-3.brainy.el7.noarch
---> Package python3-certbot-dns-cloudflare.noarch 0:1.12.0-2.brainy.el7 will be installed
--> Processing Dependency: python3-mock for package: python3-certbot-dns-cloudflare-1.12.0-2.brainy.el7.noarch
---> Package python3-cloudflare.noarch 0:2.1.0-12.brainy.el7 will be installed
--> Processing Dependency: python3-future for package: python3-cloudflare-2.1.0-12.brainy.el7.noarch
---> Package python3-distro.noarch 0:1.3.0-5.brainy.el7 will be installed
---> Package python3-parsedatetime.noarch 0:2.4-10.brainy.el7 will be installed
--> Running transaction check
---> Package python3-future.noarch 0:0.17.1-0.3.brainy.el7 will be installed
---> Package python3-mock.noarch 0:2.0.0-14.el7 will be installed
--> Processing Dependency: python3-pbr for package: python3-mock-2.0.0-14.el7.noarch
---> Package python3-requests.noarch 0:2.22.0-5.el7 will be installed
--> Processing Dependency: python3-chardet >= 3.0.2 for package: python3-requests-2.22.0-5.el7.noarch
---> Package python3-requests-toolbelt.noarch 0:0.8.0-1.el7 will be installed
--> Running transaction check
---> Package python3-chardet.noarch 0:3.0.4-9.el7 will be installed
---> Package python3-pbr.noarch 0:5.1.2-4.el7 will be installed
--> Processing Dependency: git-core for package: python3-pbr-5.1.2-4.el7.noarch
--> Finished Dependency Resolution
Error: Package: python3-pbr-5.1.2-4.el7.noarch (brainy-python3_sb)
Requires: git-core
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
-
- Сообщения: 7
- Зарегистрирован: Пн июл 05, 2021 12:58 pm
-
- Сообщения: 7
- Зарегистрирован: Пн июл 05, 2021 12:58 pm
Re: Проблема с обновлением SSL Let’s Encrypt сертификата - отвалился CertBOT.
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
brainy-glibc_sb | 2.9 kB 00:00:00
brainy-python3_sb | 2.9 kB 00:00:00
kibana-7.x | 1.3 kB 00:00:00
myrepo-centos | 2.9 kB 00:00:00
No package git available.
Error: Nothing to do
ls -al /etc/yum.repos.d/
drwxr-xr-x 127 root root 12288 Sep 12 23:05 ..
-rw-r--r-- 1 root root 1404 Jun 30 2021 brainy.repo
-rw-r--r-- 1 root root 221 Sep 10 2020 elasticsearch.repo
-rw-r--r-- 1 root root 211 Sep 15 2020 kibana.repo
-
- Сообщения: 7
- Зарегистрирован: Пн июл 05, 2021 12:58 pm
Re: Проблема с обновлением SSL Let’s Encrypt сертификата - отвалился CertBOT.
пакет git входит в стандартную поставку дистрибутива CentOS 7
у вас нет половины конфигов репо
вот что должно быть
[root@a202 yum.repos.d]# ls -l
total 48
-rw-r--r-- 1 root root 1404 Jan 13 20:33 brainy.repo
-rw-r--r-- 1 root root 1664 Nov 23 2020 CentOS-Base.repo
-rw-r--r-- 1 root root 1309 Nov 23 2020 CentOS-CR.repo
-rw-r--r-- 1 root root 649 Nov 23 2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 314 Nov 23 2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 630 Nov 23 2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Nov 23 2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 8515 Nov 23 2020 CentOS-Vault.repo
-rw-r--r-- 1 root root 616 Nov 23 2020 CentOS-x86_64-kernel.repo
-rw-r--r-- 1 root root 245 Jul 27 2021 kernel_v3.repo
у вас нет половины конфигов репо
вот что должно быть
[root@a202 yum.repos.d]# ls -l
total 48
-rw-r--r-- 1 root root 1404 Jan 13 20:33 brainy.repo
-rw-r--r-- 1 root root 1664 Nov 23 2020 CentOS-Base.repo
-rw-r--r-- 1 root root 1309 Nov 23 2020 CentOS-CR.repo
-rw-r--r-- 1 root root 649 Nov 23 2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 314 Nov 23 2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 630 Nov 23 2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Nov 23 2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 8515 Nov 23 2020 CentOS-Vault.repo
-rw-r--r-- 1 root root 616 Nov 23 2020 CentOS-x86_64-kernel.repo
-rw-r--r-- 1 root root 245 Jul 27 2021 kernel_v3.repo