Results 1 to 8 of 8

Thread: Need help to remove ppa from software sources, please.

  1. #1
    Join Date
    Jul 2008
    Location
    Germany
    Beans
    459
    Distro
    Ubuntu 14.04 Trusty Tahr

    Need help to remove ppa from software sources, please.

    I added the following repository by using this command:
    "sudo add-apt-repository ppa:diesch/testing"
    I now want to remove this repository from my software sources but do not know which command to use to accomplish this?
    Can anyone please assist?

  2. #2
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Need help to remove ppa from software sources, please.

    First remove/downgrade any packages you installed with said PPA.

    Then post the output of:

    Code:
    ls /etc/apt/sources.list.d/
    so we can tell you which ones to remove.

  3. #3
    Join Date
    Jul 2008
    Location
    Germany
    Beans
    459
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Need help to remove ppa from software sources, please.

    here is the information you asked for. Thank you for replying:
    jacques@jacques-Viao:~$ ls /etc/apt/sources.list.d/
    diesch-testing-precise.list
    jacques@jacques-Viao:~$

  4. #4
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Need help to remove ppa from software sources, please.

    Run this command:

    Code:
    sudo rm /etc/apt/sources.list.d/diesch-testing-precise.list
    then run:

    Code:
    sudo apt-get update
    and you should be free of said PPA.


    EDIT: ignore that, this way is much better (I should really be up to date with the times!):

    Code:
    sudo add-apt-repository -r ppa:diesch/testing
    Last edited by MG&TL; June 1st, 2012 at 09:01 PM.

  5. #5
    Join Date
    Jul 2008
    Location
    Germany
    Beans
    459
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Need help to remove ppa from software sources, please.

    The command worked and the ppa was removed. This file is now no longer to be found under "etc/apt/sources.list.d". There is however now a new file in its place called "diesch-testing-precise.list.save"?
    Does not bother me at all, but I was just wondering why that is so?
    As long as the ppa is removed, which it is, I am happy.
    Thank you very much for your help. I appreciate it.

  6. #6
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Need help to remove ppa from software sources, please.

    Quote Originally Posted by germanix View Post
    The command worked and the ppa was removed. This file is now no longer to be found under "etc/apt/sources.list.d". There is however now a new file in its place called "diesch-testing-precise.list.save"?
    Does not bother me at all, but I was just wondering why that is so?
    As long as the ppa is removed, which it is, I am happy.
    Thank you very much for your help. I appreciate it.
    Not a problem.

    My PPAs always have them, regardless if I've removed them or not. I don't know what they actually do.

  7. #7
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Need help to remove ppa from software sources, please.

    There's a GUI available that makes this pretty easy. It's called Software Sources and can either be pulled up on its own or through Software Centre, Update Manager and Synaptic.

  8. #8
    Join Date
    Jul 2008
    Location
    Germany
    Beans
    459
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Need help to remove ppa from software sources, please.

    Hi Paqman. thank you for this info. Will have a look. I missed this Gui in Unity. Have a nice day.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •