Incoherence between installed and active versions

This page provides instructions for migrating away from sunset version

https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210/4

Having a version lower than 0.28, I upgraded according to:

$ sudo apt-get install python-certbot-nginx returns after a couple of attempts

python-certbot-nginx is already the newest version (0.28.0-1+ubuntu16.04.1+certbot+3).

So I expect to have the newest version available. Yet
certbot --version || /path/to/certbot-auto --version returns

`certbot 0.26.1` 

which even after a sudo serivce certbot restart or full machine reboot is clearly unexpected.

Note: although helpmight have been more natural, this is filed under client dev as the case is important and the documentation needs tweaking somehow IMHO.

Try running sudo apt upgrade.

That does the trick. Why would upgrade be different that update and why would the suggested documentation suggest one vs. the other?

update updates the list of packages.

upgrade upgrades your software.

(full-upgrade upgrades software with more complex dependency issues.)

install upgrades software sometimes, I think, but is mostly intended for installing it the first time.

1 Like

thanks for the clarification. Iā€™d suggest the above link instructions state this, as a sort of point 1b) ā€¦

1 Like

Most likely because the package was being held back.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.