How do I revert back from sudo add-apt-repository ppa:xorg-edgers/ppa? [duplicate]

I tried to upgrade graphics by running following command:

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get upgrade 

However, it caused me a serious problem loading the OS. How do I rollback these changes?

2

1 Answer

You can use ppa-purge as suggested on their launchpad page.

** Please use ppa-purge to remove this PPA. It is particularly recommended to do this before upgrading to a new ubuntu release! **

Thus, we'll install ppa-purge package:

sudo apt install ppa-purge
sudo ppa-purge xorg-edgers

What ppa-purge do ?

ppa-purge - Disables a PPA and reverts to the official packages if applicable. For example, if I added the xorg-edgers PPA and installed the Nvidia drivers, if I do a ppa-purge on said PPA, it would not only disable the xorg-edgers PPA but also revert the NVIDIA drivers from the one in the PPA to the official ones found on the official Ubuntu repositories.

Quotes from this answer.

You Might Also Like