fail2ban

Asked by eslam mohamed desouky

i installed fail2ban on ubuntu 12.0.4

then i removed it

i try to install it again i cannot

root@Ubuntu-1204-precise-32-minimal:~# apt-get install fail2ban
Reading package lists... Done
Building dependency tree
Reading state information... Done
fail2ban is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root@Ubuntu-1204-precise-32-minimal:~#

root@Ubuntu-1204-precise-32-minimal:~# cd /etc/fail2ban/
-bash: cd: /etc/fail2ban/: No such file or directory
root@Ubuntu-1204-precise-32-minimal:~#

i got that error

and i donot have fail2ban in /etc

please some help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu fail2ban Edit question
Assignee:
No assignee Edit question
Solved by:
eslam mohamed desouky
Solved:
Last query:
Last reply:
Revision history for this message
Warren Hill (warren-hill) said :
#1

Open a terminal (CTRL+ALT+T) Copy and paste this

uname -a; lsb_relase -a;apt-cache policy fail2ban

Copy and paste the reply back here. May give us a clue what;s gone wrong

Revision history for this message
eslam mohamed desouky (e-tiger2006) said :
#2

i did make it thanks guys

sudo apt-get purge fail2ban

then i install it again,

sudo apt-get install fail2ban

and it is works :)