Ubuntu – Does Update Manager give me a 404 error with these Google repositories

aptdownloadspackage-managementupdate-manager

I have a red warning sign in my toolbar. When I click on it, it asks me to check for updates. When I check for updates, I get this:

W:Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-amd64/Packages  404  Not Found [IP: 74.125.227.46 80]    
W:Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-i386/Packages  404  Not Found [IP: 74.125.227.46 80]
E:Some index files failed to download. They have been ignored, or old ones used instead.

This happened to me once before when 12.04 was still in beta, but I can't remember what I did. It was a huge mess!

System:
12.04 64-bit
Sony Vaio VGN-NW220F

Best Answer

Whatever that Google repository was, it's gone now. If it was a PPA, you can try removing/unchecking it in Software Sources. If you added those lines manually to sources.list, remove and run sudo apt-get update.