Dependencies missing. Need Help.

When I downloaded all dependencies, some 50 odd MB were not installed. After downloading the source code, I tried to configure the build using

./autogen.sh

I got the following message:-

Various low-level dependencies are missing, please install them:

 aclocal: aclocal is required
 autoconf: autoconf is required

Please help.

Also by running

sudo apt-get build-dep libreoffice

I get the following errors:-

Err Index of /ubuntu/ precise-security/main openjdk-6-jre-lib all 6b27-1.12.6-1ubuntu0.12.04.2
404 Not Found [IP: 91.189.92.177 80]

Err Index of /ubuntu/ precise-security/main openjdk-6-jre-headless amd64 6b27-1.12.6-1ubuntu0.12.04.2
404 Not Found [IP: 91.189.92.177 80]

Err Index of /ubuntu/ precise-security/main firefox-dev amd64 25.0+build3-0ubuntu0.12.04.1
404 Not Found [IP: 91.189.92.177 80]

Err Index of /ubuntu/ precise-security/main openjdk-6-jre amd64 6b27-1.12.6-1ubuntu0.12.04.2
404 Not Found [IP: 91.189.92.177 80]

Err Index of /ubuntu/ precise-security/main openjdk-6-jdk amd64 6b27-1.12.6-1ubuntu0.12.04.2
404 Not Found [IP: 91.189.92.177 80]

Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-lib_6b27-1.12.6-1ubuntu0.12.04.2_all.deb 404 Not Found [IP: 91.189.92.177 80]

Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b27-1.12.6-1ubuntu0.12.04.2_amd64.deb 404 Not Found [IP: 91.189.92.177 80]

Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-dev_25.0+build3-0ubuntu0.12.04.1_amd64.deb 404 Not Found [IP: 91.189.92.177 80]

Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre_6b27-1.12.6-1ubuntu0.12.04.2_amd64.deb 404 Not Found [IP: 91.189.92.177 80]

Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jdk_6b27-1.12.6-1ubuntu0.12.04.2_amd64.deb 404 Not Found [IP: 91.189.92.177 80]