Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install Eclipse by using the Ubuntu Software center. I do have an Internet connection and I have actually downloaded other software successfully. However, when I try to install Eclipse, I get the following error:

Failed to download package files

Check your Internet connection.

Failed to fetch http:// archive.ubuntu.com /ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-lib_6b27-1.12.3-0ubuntu1~12.04_all.deb 404 Not Found [IP: 91.189.92.201 80]

Failed to fetch http:// archive.ubuntu.com /ubuntu/pool/main/n/nss/libnss3-1d_3.14.1-0ckbi1.93ubuntu.0.12.04.1_amd64.deb 404 Not Found [IP: 91.189.92.201 80]

Failed to fetch http:// archive.ubuntu.com /ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b27-1.12.3-0ubuntu1~12.04_amd64.deb 404 Not Found [IP: 91.189.92.201 80]

Failed to fetch http:// archive.ubuntu.com /ubuntu/pool/main/o/openjdk-6/openjdk-6-jre_6b27-1.12.3-0ubuntu1~12.04_amd64.deb 404 Not Found [IP: 91.189.92.201 80]

Failed to fetch http:// archive.ubuntu.com /ubuntu/pool/main/o/openjdk-6/openjdk-6-jdk_6b27-1.12.3-0ubuntu1~12.04_amd64.deb 404 Not Found [IP: 91.189.92.201 80]

Failed to fetch http:// archive.ubuntu.com /ubuntu/pool/main/o/openjdk-6/icedtea-6-jre-cacao_6b27-1.12.3-0ubuntu1~12.04_amd64.deb 404 Not Found [IP: 91.189.92.201 80]

Failed to fetch http:// archive.ubuntu.com /ubuntu/pool/main/o/openjdk-6/icedtea-6-jre-jamvm_6b27-1.12.3-0ubuntu1~12.04_amd64.deb 404 Not Found [IP: 91.189.92.201 80]

Any help is deeply appreciated.

share|improve this question
    
When I tried installing it using the terminal, I got the following error: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? –  Sultan Abraham Mar 26 '13 at 18:18
    
If you are going to program in java it is recomended to use oracle java here is simple installation guide. This may solve problem with downloading openjdk... Since eclipse is java program with no dependencies i would recommend downloading it from eclipse.org. After unpacking downloaded archive you can launch it by double clicking eclipse file. –  Štěpán Postránecký Mar 26 '13 at 18:27
    
So, did you try running those commands? What happens when you run sudo apt-get update and sudo apt-get -f install? –  Eliah Kagan Mar 26 '13 at 18:35
add comment

1 Answer

Update your package database using sudo apt-get update in the command line and try again.

If that doesn't work, you can download the files manually via the webbrowser (ugly workaround) by going to http://archive.ubuntu.com/ubuntu/pool/main/o/openjdk-6/ and downloading the files with most similar filename to the ones in the error message. Those manually downloaded files can be installed with the Ubuntu Software Center, with gdebi or via commandline with dpkg -i packagename.deb.

share|improve this answer
    
Thank you very much... it worked :))) –  Sultan Abraham Mar 28 '13 at 19:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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