Não é possível instalar o fail2ban no CentOS 6.9

0

Não consigo instalar fail2ban no meu CentOS 6.9. Aqui está minha configuração

# cat /etc/*release

CentOS release 6.9 (Final)
CentOS release 6.9 (Final)
CentOS release 6.9 (Final)

# rpm -q epel-release
epel-release-6-8.noarch

Meu log de instalação

# yum install fail2ban
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.awanti.com
* epel: ftp.nluug.nl
* extras: mirror.awanti.com
* rpmforge: mirror.nl.leaseweb.net
* updates: mirror.awanti.com
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package fail2ban.noarch 0:0.9.7-1.el7 will be installed
--> Processing Dependency: fail2ban-server = 0.9.7-1.el7 for package: fail2ban-0.9.7-1.el7.noarch
--> Processing Dependency: fail2ban-sendmail = 0.9.7-1.el7 for package: fail2ban-0.9.7-1.el7.noarch
--> Processing Dependency: fail2ban-firewalld = 0.9.7-1.el7 for package: fail2ban-0.9.7-1.el7.noarch
--> Running transaction check
---> Package fail2ban-firewalld.noarch 0:0.9.7-1.el7 will be installed
--> Processing Dependency: firewalld for package: fail2ban-firewalld-0.9.7-1.el7.noarch
---> Package fail2ban-sendmail.noarch 0:0.9.7-1.el7 will be installed
---> Package fail2ban-server.noarch 0:0.9.7-1.el7 will be installed
--> Processing Dependency: python(abi) = 2.7 for package: fail2ban-server-0.9.7-1.el7.noarch
--> Processing Dependency: systemd-python for package: fail2ban-server-0.9.7-1.el7.noarch
--> Processing Dependency: systemd for package: fail2ban-server-0.9.7-1.el7.noarch
--> Processing Dependency: systemd for package: fail2ban-server-0.9.7-1.el7.noarch
--> Finished Dependency Resolution
Error: Package: fail2ban-server-0.9.7-1.el7.noarch (epel)
       Requires: python(abi) = 2.7
       Installed: python-2.6.6-66.el6_8.x86_64 (@base)
           python(abi) = 2.6
       Available: python34-3.4.9-1.el7.x86_64 (epel)
           python(abi) = 3.4
       Available: python36-3.6.6-1.el7.x86_64 (epel)
           python(abi) = 3.6
           python(abi) = 3.6
Error: Package: fail2ban-server-0.9.7-1.el7.noarch (epel)
       Requires: systemd-python
Error: Package: fail2ban-firewalld-0.9.7-1.el7.noarch (epel)
       Requires: firewalld
Error: Package: fail2ban-server-0.9.7-1.el7.noarch (epel)
       Requires: systemd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Meu log do Python

# python -V
Python 2.6.6

# python3.6 -V
Python 3.6.6

UPD: Resolvido com a instalação python-boto antes de fail2ban

yum install python-boto
    
por user3013494 21.09.2018 / 13:18

1 resposta

0

Se for possível, atualize o pacote python para python36 da epel antes de instalar o fail2ban.

    
por 21.09.2018 / 14:10