how to remove update repo that always fails

Open a terminal window (ctrl-alt-t) and run

sudo apt-get install ppa-purge

sudo ppa-purge ppa:geod/ppa-geod

That should do the trick, and remove the repository along with installed packages.

Yet another way is sudo add-apt-reposiry -r ppa:geod/ppa-geod. That will just remove the repositry.

Alternatively, you can run software-properties-gtk, in the window that opens, select the Other Software Tab, find the corresponding lines and delete them.


If you know the repo error just use sudo rm /etc/apt/sources.list.d/REPO-DIST.list

If you want to check what you've added and then remove from there you always can check with:

ls /etc/apt/sources.list.d/

Then with the command mentioned above.