I’m getting the following
The repository ... no longer has a Release file. error on many of my Ubuntu 20.04 LTS droplets. Is this OS no longer supported? If it is supported, how do I resolve this?
I can happily edit /etc/apt/sources.list to whatever it needs to be… but I’ve never had to do this with within-5-years-released Ubuntu LTS versions before.
With regards to the
Certificate verification failed: error: this does -not- solve my problem (I already had
ca-certificates package installed):
sudo apt install ca-certificates … as per: https://askubuntu.com/a/1145374/66226
$ apt update Ign:1 https://repos.insights.digitalocean.com/apt/do-agent main InRelease Err:2 https://repos.insights.digitalocean.com/apt/do-agent main Release Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 18.104.22.168 443] Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Get:4 http://mirrors.digitalocean.com/ubuntu focal InRelease [265 kB] Hit:5 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease Hit:6 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease Hit:7 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease Reading package lists... Done E: The repository 'https://repos.insights.digitalocean.com/apt/do-agent main Release' no longer has 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. $ $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal $ $ date Wed Mar 8 23:59:20 CST 2023 $
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.