Remove/disable a ppa You no Longer Want.
There are several possible approaches, I’ll describe a few>
- To simply disable the ppa, open a terminal and:
then browse to /etc/apt/sources.list.d
You should see a file there named something like: ppa-name.list where ppa-name is the name of the ppa you want to disable. Open the file and you should see lines like:
Insert ## at the beginning of each line so that you have:
You can accomplish the same thing using synaptic. Open synaptic and navigate to
then remove the X from the repository you wish to disable.
- To remove a ppa from the command line, open a terminal and:
sudo apt-add-repository –remove ppa-name/ppa
- Alternatively you can use y-ppamanager to remove it. ypp-manager is available in a ppa that you can add from the command line using
sudo add-apt-repository ppa:webupd8team/y-ppa-manager
Whichever approach you choose you will need to update your repositories after you make the change. I nearly always use the command line for this. The required command is:
sudo apt-get update