No release file issue

Hi,
I am trying to reinstall elasticsearch & Kibana in my Ubuntu 20.04 OS. There was some issue with Kibana loading, I tried fixing the yml files of both of them but port 5601 kept showing Kibana server is not ready yet. So, I uninstalled both kibana and elasticsearch, removed /var/lib/elasticsearch , /etc/elasticsearch, /var/lib/kibana & /etc/kibana folders and started afresh.

But now when I run sudo apt-get update && sudo apt-get install elasticsearch, I get below error:

Err:23 http://ppa.launchpad.net/cooperjona/nitrotasks/ubuntu focal Release     
  404  Not Found [IP: 91.189.95.85 80]
Err:24 http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release          
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done                                                  
E: The repository 'http://ppa.launchpad.net/cooperjona/nitrotasks/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.
E: The repository 'http://ppa.launchpad.net/webupd8team/java/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.

Can you please help me with this?

Thanks in advance!

These aren't elasticsearch issues, you have some Ubuntu PPAs installed that don't work.

You need to remove or update those PPAs.