hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
25.39k stars 6.34k forks source link

No package fail2ban available. #210

Closed jakenlian closed 7 years ago

jakenlian commented 7 years ago

[error] sudo sh vpnsetup.sh ... No package fail2ban available.

[ok] uninstall epel first rpm -qa|grep epel rpm -e epel-release-6-8.noarch sudo sh vpnsetup.sh

don't know why. maybe the version of epel?or the mirrors? my vps is buy from bandwagonhost.com.

reference:https://www.centos.org/forums/viewtopic.php?t=47284

hwdsl2 commented 7 years ago

@jakenlian Unable to reproduce on a fresh CentOS 6 install at DO/Vultr. Your error is probably caused by (temporary) issues with CentOS/EPEL mirrors or your server's network.

## Installing Fail2Ban to protect SSH...

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * epel: fedora-epel.mirrors.tds.net
 * extras: centos.mirror.constant.com
 * updates: mirror.datto.com
Resolving Dependencies
--> Running transaction check
---> Package fail2ban.noarch 0:0.9.6-1.el6.1 will be installed
--> Processing Dependency: python-inotify for package: fail2ban-0.9.6-1.el6.1.noarch
--> Processing Dependency: ipset for package: fail2ban-0.9.6-1.el6.1.noarch
--> Processing Dependency: gamin-python for package: fail2ban-0.9.6-1.el6.1.noarch
--> Processing Dependency: ed for package: fail2ban-0.9.6-1.el6.1.noarch
--> Running transaction check
---> Package ed.x86_64 0:1.1-3.3.el6 will be installed
---> Package gamin-python.x86_64 0:0.1.10-9.el6 will be installed
---> Package ipset.x86_64 0:6.11-4.el6 will be installed
--> Processing Dependency: libmnl.so.0(LIBMNL_1.0)(64bit) for package: ipset-6.11-4.el6.x86_64
--> Processing Dependency: libmnl.so.0()(64bit) for package: ipset-6.11-4.el6.x86_64
---> Package python-inotify.noarch 0:0.9.1-1.el6 will be installed
--> Running transaction check
---> Package libmnl.x86_64 0:1.0.2-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================================================================================
 Package                                                      Arch                                                 Version                                                      Repository                                          Size
=========================================================================================================================================================================================================================================
Installing:
 fail2ban                                                     noarch                                               0.9.6-1.el6.1                                                epel                                               468 k
Installing for dependencies:
 ed                                                           x86_64                                               1.1-3.3.el6                                                  base                                                72 k
 gamin-python                                                 x86_64                                               0.1.10-9.el6                                                 base                                                33 k
 ipset                                                        x86_64                                               6.11-4.el6                                                   base                                                63 k
 libmnl                                                       x86_64                                               1.0.2-3.el6                                                  base                                                21 k
 python-inotify                                               noarch                                               0.9.1-1.el6                                                  epel                                                50 k

Transaction Summary
=========================================================================================================================================================================================================================================
Install       6 Package(s)

Total download size: 706 k
Installed size: 2.2 M
Downloading Packages:
(1/6): ed-1.1-3.3.el6.x86_64.rpm                                                                                                                                                                                  |  72 kB     00:00     
(2/6): fail2ban-0.9.6-1.el6.1.noarch.rpm                                                                                                                                                                          | 468 kB     00:00     
(3/6): gamin-python-0.1.10-9.el6.x86_64.rpm                                                                                                                                                                       |  33 kB     00:00     
(4/6): ipset-6.11-4.el6.x86_64.rpm                                                                                                                                                                                |  63 kB     00:00     
(5/6): libmnl-1.0.2-3.el6.x86_64.rpm                                                                                                                                                                              |  21 kB     00:00     
(6/6): python-inotify-0.9.1-1.el6.noarch.rpm                                                                                                                                                                      |  50 kB     00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                    8.6 MB/s | 706 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libmnl-1.0.2-3.el6.x86_64                                                                                                                                                                                             1/6 
  Installing : ipset-6.11-4.el6.x86_64                                                                                                                                                                                               2/6 
  Installing : gamin-python-0.1.10-9.el6.x86_64                                                                                                                                                                                      3/6 
  Installing : python-inotify-0.9.1-1.el6.noarch                                                                                                                                                                                     4/6 
  Installing : ed-1.1-3.3.el6.x86_64                                                                                                                                                                                                 5/6 
  Installing : fail2ban-0.9.6-1.el6.1.noarch                                                                                                                                                                                         6/6 
  Verifying  : ed-1.1-3.3.el6.x86_64                                                                                                                                                                                                 1/6 
  Verifying  : fail2ban-0.9.6-1.el6.1.noarch                                                                                                                                                                                         2/6 
  Verifying  : python-inotify-0.9.1-1.el6.noarch                                                                                                                                                                                     3/6 
  Verifying  : ipset-6.11-4.el6.x86_64                                                                                                                                                                                               4/6 
  Verifying  : gamin-python-0.1.10-9.el6.x86_64                                                                                                                                                                                      5/6 
  Verifying  : libmnl-1.0.2-3.el6.x86_64                                                                                                                                                                                             6/6 

Installed:
  fail2ban.noarch 0:0.9.6-1.el6.1                                                                                                                                                                                                        

Dependency Installed:
  ed.x86_64 0:1.1-3.3.el6                 gamin-python.x86_64 0:0.1.10-9.el6                 ipset.x86_64 0:6.11-4.el6                 libmnl.x86_64 0:1.0.2-3.el6                 python-inotify.noarch 0:0.9.1-1.el6                

Complete!
WenSteven commented 6 years ago

me too

han-qiu commented 6 years ago

same here my, vps from bandwagonhost.com

w8665763 commented 6 years ago

me too