I can’t update/upgrade. How do I fix this?
root@starfish:~# apt-get update && apt-get upgrade -y Hit:1 http://mirrors.digitalocean.com/ubuntu bionic InRelease Err:2 https://repos.insights.digitalocean.com/apt/do-agent main InRelease 400 Bad Request [IP: <SNIP> 443] Hit:3 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease Hit:4 http://mirrors.digitalocean.com/ubuntu bionic-backports InRelease Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease Hit:7 http://ppa.launchpad.net/wordops/nginx-wo/ubuntu bionic InRelease Get:8 http://mariadb.mirrors.ovh.net/MariaDB/repo/10.3/ubuntu bionic InRelease [6,265 B] Reading package lists... Done E: Failed to fetch https://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease 400 Bad Request [IP: <SNIP> 443] E: The repository 'https://repos.insights.digitalocean.com/apt/do-agent main InRelease' is no longer signed. 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.
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!