6

This question already has an answer here:

I was following an old tutorial and did an apt-get installed a repository (I think that's what it was) I am no ubuntu guru. Turns out that repo no longer exists, and when I now do an apt-get update I get this:

W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/wily/main/binary-i386/Packages  404  Not Found

I tried the usual

sudo rm /var/lib/apt/lists/* -vf

but no luck. Where is the list that stores all the repos that i added myself? How do I get rid of this?

marked as duplicate by muru, Byte Commander, David Foerster, karel, Jacob Vlijm Feb 3 '16 at 9:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • That PPA doesn't support 15.10 (or anything newer than 13.10, for that matter). Remove it. – muru Feb 3 '16 at 7:32
17

The command to remove an apt repository is apt-add-repository with the -r option which will remove instead of add the repository. So in your case, the full command would be:

sudo add-apt-repository -r ppa:colingille/freshlight

The other option is to look in /etc/apt/sources.list and /etc/apt/sources.d/ and remove it from there.

  • While you are correct about removing the PPA, it is recommended to include how to do it based on the question rather than just vague generic instructions, the ppa was given in the question and is easy to find with Google, for now I have edited it in for you so you can see what I mean. – Mark Kirby Feb 3 '16 at 8:56
  • I was wanting to explain specifically how to remove the PPA, but despite performing a google search I was unable to find the "ppa:" line that corresponded to the URL in his log. – Micheal Johnson Feb 3 '16 at 14:27
  • 1
    It is OK I added it for you, I understand they are tricky to find. – Mark Kirby Feb 3 '16 at 15:59

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