e unable to locate package pyrit in ubuntu code example

Example 1: unable to locate package ubuntu

sudo apt install

Example 2: e unable to locate package pyrit in ubuntu

sudo su
cd /etc/apt/
ls
nano source.list

You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list
like this : deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
Replacing cz.archive.ubuntu.com/ubuntu with the mirror in question.

./source.list
sudo apt update 
sudo apt-get install pyrit