I also had to delete the failed repositories, but it was difficult for me to identify them and delete them based on the instructions here. So I found a link that explains why this is happening and how to delete bad repositories:
In short, run the following command to find failed repositories:
sudo apt-get update | grep "Failed"
An example output might be:
:~# apt-get update | grep "Failed" W: Failed to fetch http:
And finally, use this command to delete failed repo (s):
sudo add-apt-repository --remove ppa:{failing ppa}
for example, here it will look like this:
sudo add-apt-repository --remove ppa:upubuntu-com/web
MajiK Dec 15 '14 at 14:20 2014-12-15 14:20
source share