Remove/disable a ppa You no Longer Want.

There are several possible approaches, I’ll describe a few>

  1. To simply disable the ppa, open a terminal and:
    gksudo gedit
    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:

    deb http://ppa.launchpad.net/ppa-name/something-else/ubuntu precise main
    deb-src http://ppa.launchpad.net/ppa-name/something-else/ubuntu precise main

    Insert ## at the beginning of each line so that you have:

    ## deb http://ppa.launchpad.net/ppa-name/something-else/ubuntu precise main
    ## deb-src http://ppa.launchpad.net/ppa-name/something-else/ubuntu precise main

    and save the file.

  2. You can accomplish the same thing using synaptic. Open synaptic and navigate to

    /Settings/Repositories/Other Software

    then remove the X from the repository you wish to disable.

  3. To remove a ppa from the command line, open a terminal and:

    sudo apt-add-repository –remove ppa-name/ppa

  4. 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: