How to fix Sublime Text PPA in Ubuntu 20.04? [duplicate]

$ sudo apt update && sudo apt upgrade -y
Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                                    
Hit:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                                  
Hit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease                                                                                 
Hit:5 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease                                                                                   
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                                     
Hit:7 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease                                                          
Hit:8 https://packages.microsoft.com/repos/ms-teams stable InRelease     
Hit:9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease
Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
Hit:12 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease
Hit:13 http://ppa.launchpad.net/peek-developers/stable/ubuntu focal InRelease
Ign:14 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu focal InRelease
Err:15 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/sublime-text-2/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.

Whenever I try to do sudo apt update it gives me this error and exits, I don't remember the way in which I installed sublime text throught terminal as it was 2 weeks ago, is there a way to solve this

I followed this tutorial to download sublime text from this heading https://www.codeproject.com/articles/582849/installingplussublimeplustextplus2plusonpluslinuxp

Installing Sublime Text on Linux Mint /Ubuntu– The Better Method

I also tried uninstalling it but that didn't work

$ sudo snap remove sublime-text
sublime-text removed

`


Remove the outdated PPA

The webupd8 PPA has not been updated since 2018, and does not support Ubuntu 20.04.

Remove it with

sudo add-apt-repository --remove ppa:webupd8team/sublime-text-2

Install Sublime Text 4 from its official repository

The instructions for Installing sublime text can be found at its website.

First, install the GPG key:

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

Then enable https sources in apt

sudo apt-get install apt-transport-https

For the stable version, enter the command

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Update apt index and install Sublime Text

sudo apt update
sudo apt install sublime-text