I have installed previously Certbot on Ubuntu, but I believe the package wasn't yet available for this distribution yet, so I believe I installed it from a pre-built package (maybe, I'm really not sure). Anyway, right now I have certbot 0.26.1 installed:
certbot --version
certbot 0.26.1
I tried to install it using the guide from here: https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx
Here are some outputs from the current system:
apt-get install python-certbot-nginx
python-certbot-nginx is already the newest version (0.28.0-1+ubuntu18.04.1+certbot+3).
certbot --version
certbot 0.26.1
which certbot
/usr/bin/certbot
dpkg-query -L python-certbot-nginx
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-certbot-nginx
/usr/share/doc/python-certbot-nginx/changelog.Debian.gz
/usr/share/doc/python-certbot-nginx/copyright
so it looks like to me, that "python-certbot-nginx" package doesn't install any binaries. That am I doing wrong here? I have some totally different packages that can be upgraded (e.g. MySQL, PHP), but I can upgrade these only this sunday. But I believe this is absolutely unrelated to my problem. Thanks!
Try with the following commands (replace
-nginx
with-apache
if you need) to get the latest version of CertBot:If this is a new installation or it's not a problem to upgrade all packages on your system:
If you do not want to upgrade all packages in your system, then you can use:
References:
Reasons to update - from Let's Encrypt newsletter: