how to remove this repository ppa:webupd8team/java

Hit:14 focal InRelease      
Ign:15 focal InRelease        
Err:16 focal Release          
  404  Not Found [IP: 80]
Reading package lists... Done                                                  
E: The repository ' 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.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Hi there,

The manual way of doing this is, to use the grep command and search for any references of the webupd8team repository in your source list:

  1. sudo grep -r "webupd8team" /etc/apt/*

After that using your favorite text editor open the file and remove the line referencing the `webupd8teamz repository.

Finally, run:

sudo apt update

Another option is to use the apt-add-repository command with the --remove flag:

sudo apt-add-repository --remove repo_name_here

Hope that this helps! Regards, Bobby