delete ppa repository ubuntu code example
Example 1: add-apt-repository remove
sudo add-apt-repository -r {package-name}
Example 2: delete ppa repository ubuntu
sudo add-apt-repository --remove ppa:PPA_Name/ppa
sudo add-apt-repository -r {package-name}
sudo add-apt-repository --remove ppa:PPA_Name/ppa