Possible Duplicate:
How can I fix a 404 Error using a PPA?
When I run sudo apt-get update && sudo apt-get dist-upgrade
, I get the following:
W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)/dists/oneiric/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)/dists/oneiric/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch http://ppa.launchpad.net/openjdk/ppa/ubuntu/dists/oneiric/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/openjdk/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
For the CD it might be because you do not have the CD in the CDROM. I actually remove the repo for the CD since I do not need it after installing Ubuntu.
So in both cases the message says it all. You need to remove both repo links from your Software sources and then try again.
– Luis Alvarado Feb 23 '12 at 00:10