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.

Please let me know how to remove certain repositories in Ubuntu 11.04. I am getting the following errors while updating.

sudo apt-get update

Err http://ppa.launchpad.net natty/main Sources                                   
  404  Not Found
Err http://ppa.launchpad.net natty/main i386 Packages                             
  404  Not Found
......

E: Some index files failed to download. They have been ignored, or old ones used instead.
share|improve this question
add comment

4 Answers

up vote 12 down vote accepted

You can easily remove software repositories from the "Ubuntu Software Center"

Open "Ubuntu Software Center"
- Edit Menu
--- Select "Software Sources...", enter your password
----- Select tab "Other Software"

From the "Other Software" tab you can add or remove repositories.

share|improve this answer
    
Yep, this is the proper way to remove repositories. –  user4124 May 17 '11 at 12:25
add comment

You can use PPa Purge:

PPA Purge can remove a PPA and downgrade all the packages you've installed from that PPA to the official version in the Ubuntu repositories

sudo apt-get install ppa-purge

sudo ppa-purge -d <Ubuntu version> ppa:<the PPA to purge>

via:WebUpd8

Or you can go to Software Sources on the Ubuntu Software Center Edit menu, enter your password, go to the Other tab, look for the PPA you wan to remove, click remove and close, it will ask you to update the repos and done.

share|improve this answer
add comment

Or from the terminal -

sudo add-apt-repository -r ppa:<ppa to remove>

Or, edit the /etc/apt/sources.list to find your ppa there, and remove from there manually (or automatically).

share|improve this answer
add comment

From terminal:

sudo apt-add-repository -r <ppa repo>
share|improve this answer
add comment

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.