error updating openjdk for ubuntu 11.10: ppa not found

Asked by z3r0c007 on 2011-11-01

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.

pls help...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openjdk-6 Edit question
Assignee:
No assignee Edit question
Solved by:
z3r0c007
Solved:
2011-11-29
Last query:
2011-11-29
Last reply:
2011-11-02
Alessandro Menti (elgaton) said : #1

You are trying to install OpenJDK from a PPA; that should not be needed anymore since now OpenJDK is in the main Ubuntu repositories. The maintainers of that PPA have therefore decided not to provide OpenJDK for Oneiric, that's why you are getting an error when trying to update the package lists.

To fix the error, open a terminal and type:
sudo nano /etc/apt/sources.list
Find the lines (if any) that contain something similar to:
deb http://ppa.launchpad.net/openjdk oneiric main
deb-src http://ppa.launchpad.net/openjdk oneiric main
(if any), then close nano with Ctrl+X. If prompted to save changes, type "Y" and then Enter.
Also check that no lines similar to these are present in any file in the directory /etc/apt/sources.list.d.
Then run "sudo apt-get update", the error should not show anymore.

z3r0c007 (kimchloekc) said : #2

deb http://ppa.launchpad.net/openjdk oneiric main
deb-src http://ppa.launchpad.net/openjdk oneiric main no similar but i open the site of http://ppa.launchpad.net/openjdk oneiric main there's no subdirectory of this . i need more information

Alessandro Menti (elgaton) said : #3

The maintainer of that PPA has decided not to provide OpenJDK packages for Oneiric, that's why you are getting the error.

Just remove those lines from your /etc/apt/sources.list and then you should be fine. (OpenJDK packages are now provided by the main Ubuntu repository).

z3r0c007 (kimchloekc) said : #4

thanks

lara (kearan-rayofsun) said : #5

W:Failed to fetch http://ppa.launchpad.net/dlecan/openjdk/ubuntu/dists/oneiric/main/source/Sources 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/dlecan/openjdk/ubuntu/dists/oneiric/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/dlecan/openjdk/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.

I have try every possibilities .....what I found from different blogs about this problem.....but nothing is working.....pls help me to get out of this error..

thanks

Alessandro Menti (elgaton) said : #6

Did the solution in comment #1 work for you (follow the same steps, but remove the following lines:
deb http://ppa.launchpad.net/dlecan oneiric main
deb-src http://ppa.launchpad.net/dlecan oneiric main
)? If not, tell me and I'll help you further.