There are times when the PPA repo that you add to your local machine becomes obsolete, maybe the developer abandoned the project or something happened, so how to remove these broken PPA repo anyway?
To remove PPA repository from ubuntu, we can use the same command that we use to add them, by adding --remove parameter it will remove the PPA repo that you specify.Example:
The problem is that you need to know exactly the name of the PPA repository, which you probably don't remember. The solution for that is to create shell script that can show list of PPA repo on your local machine, have a look at my previous post.
You can find out which PPA repository is broken or not by running the update command 'sudo apt-get update', if everything is fine, there will be no error on the PPA repo section. Even if the PPA repo is not broken, but you want to remove it anyway, you can do that too.