Upgraded from Ubuntu 16.04 to 18.04


I upgraded my home machine from Ubuntu 16.04 to 18.04 and went run any certbot command it simply says

sudo: certbot command not found

I can still see that the letsencrypt directory under the /etc directory and the cert is still valid but expires in a week and a bit. I’m current running a manual renewal as the cert was issued to a local intranet domain, not accessible externally. This has been working fine before the Ubuntu upgrade.

So I’ve followed the following instructions

sudo apt-get update sudo apt-get install software-properties-common
sudo add-apt-repository universe sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update

But stopped before the following command.

sudo apt-get install python-certbot-apache

I have read that the certbot system is OS dependent, so I’m wondering if it’s okay to re-install certbot using this last command.

I will take an image of the system in case things ‘break’ but unfortunately I dont have a spare machine to load the image onto to test.



Yes. Your Certbot data is stored separately and won’t be affected.


Thanks very much.

Re-installed and the cert was renewed without any issues.