- For some reasons, your apt is gone and get errror message like
apt command not found
- Download the apt package for your ubuntu version here http://security.ubuntu.com/ubuntu/pool/main/a/apt/
- For example, get apt 1.6 for Ubuntu 18.04.2 LTS
- Force install apt package and run
apt-get update
wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.6.1_amd64.deb
sudo dpkg -i --force-all apt_1.6.1_amd64.deb
sudo apt-get update