Install failure Ubuntu 20.04 in EC2

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: *.openhistoricalmap.org

I ran this command:
add-apt-repository ppa:certbot/certbot

It produced this output:
Err:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [2788 B]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [1272 B]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [188 B]
Reading package lists… Done
E: The repository ‘http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

My web server is (include version):

apache2 2.4.41

The operating system my web server runs on is (include version):

Ubuntu 20.04

My hosting provider, if applicable, is:

Amazon EC2

I can login to a root shell on my machine (yes or no, or I don’t know):

yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
can’t install due to lack of Release file (see error)

There is no PPA for Focal, for now. The relevant installation instructions are here: https://certbot.eff.org/lets-encrypt/ubuntufocal-other. You will want to first remove the PPA.

2 Likes