Thanks Osiris for your comment, but I used these commands to install certbot
- Install / Verify “snapd” instalation.
sudo snap install core; sudo snap refresh core
- Delete any “certbot” installation on server
sudo apt-get remove certbot
- Fresh install of certbot
sudo snap install –classic certbot
- Testing that certbot can be executed
sudo ln -s /snap/bin/certbot /usr/bin/certbot
And as you say, it suppose snaps keeps certbot updated but it is not working. I am running this on AWS EC2 instance Ubuntu 20.04.