6

I installed ubuntu server(18.04 version) a few days ago. and I tried to install fail2ban with apt tool but couldn't do that.

Here's some information on my situation.

root@ubuntu:~# cat /etc/os-release | grep -i version
VERSION="18.04.1 LTS (Bionic Beaver)"
VERSION_ID="18.04"
VERSION_CODENAME=bionic

root@ubuntu:~# apt search fail2ban
Sorting... Done
Full Text Search... Done

Why cant' I search fail2ban on ubuntu package repository?

NoFence
  • 799

1 Answers1

8

I got a solution with Rinzwind's saying. My sources.list had main repositiory list only. But fail2ban is available universe package list. So, I added universe list into sources.list with command-lines like this.

sudo add-apt-repository universe

Finally I could search fail2ban package successfully.

N0rbert
  • 103,263
NoFence
  • 799