View Full Version : Having trouble installing openjdk 7 in ubuntu

June 11th, 2013, 11:57 PM
So I type this:

sudo apt-get install openjdk-7-jdk

And it tries to install, but then I get this:

Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxcb1-dev amd64 1.8.1-1ubuntu0.1
404 Not Found [IP: 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb1-dev_1.8.1-1ubuntu0.1_amd64.deb 404 Not Found [IP: 80]

Can anyone help?

June 12th, 2013, 01:21 AM
Try switching your repository over to download from main server instead of server for US.

June 14th, 2013, 09:11 AM
How do I do that?

June 14th, 2013, 11:14 AM
How do I do that?

Here's how: Repositories/Ubuntu (https://help.ubuntu.com/community/Repositories/Ubuntu)