Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As in the title. I tried to add a Repository, how do I remove it. It won't let me via the software-sources program. I tried sudo ppa-purge ppa:quantal (the name of it) and it failed anyone got any ideas?

deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse #Added by software-properties

deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse

deb-src http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse #Added by software-properties

deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse #Added by software-properties

deb http://launchpad.net/ubuntu/quantal/amd64/ quantal

deb-src http://launchpad.net/ubuntu/quantal/amd64/ quantal
share|improve this question
    
give us the details, which ppa, what have you executed. I highly doubt there will be any ppa named quantal because it's name of ubuntu 12.10. What is the content of sources file? –  Web-E Oct 20 '12 at 10:28
    
well I would if I could open software sources to check –  Brenton Horne Oct 20 '12 at 10:39
    
Post content of the following file. open sources.lst file in gedit, located at /etc/apt/ –  Web-E Oct 20 '12 at 10:41
    
I've added it to the description not enough space in the comments. –  Brenton Horne Oct 20 '12 at 11:11
    
Does the directory /etc/apt/sources.list.d/ contain any files? –  bessman Oct 20 '12 at 14:29

1 Answer 1

up vote 0 down vote accepted

Just open up terminal (ctrl+alt+T) and post the commands: [Replacing gedit with your favourite text editor]

gksu gedit /etc/apt/sources.list

and remove all references to the faulty repository.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.