가상 머신에 Java를 설치하는 중 오류가 발생했습니다.

가상 머신에 Java를 설치하는 중 오류가 발생했습니다.

Google App Engine에 서버 애플리케이션(BaasBox)을 배포하려고 합니다.

BaasBox를 실행하려면 Java 1.6 이상이 필요합니다.

가상 머신에서 check java를 사용하면 java -version다음과 같은 결과가 나타납니다.

    The program 'java' can be found in the following packages:
 * default-jre
 * gcj-4.8-jre-headless
 * openjdk-7-jre-headless
 * gcj-4.6-jre-headless
 * openjdk-6-jre-headless
Try: sudo apt-get install <selected package>

위에 나열된 항목을 설치하려고 하면 문제가 발생하며 openjdk-7다음과 같은 출력 오류가 발생합니다.

    myname@instance-2:~$ sudo apt-get install openjdk-7-jre-headless
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common
  libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libcups2
  libflac8 libfontconfig1 libjpeg-turbo8 libjpeg8 liblcms2-2 libnspr4 libnss3
  libnss3-nssdb libogg0 libpcsclite1 libpulse0 libsndfile1 libvorbis0a
  libvorbisenc2 tzdata-java
Suggested packages:
  default-jre equivs cups-common liblcms2-utils pcscd pulseaudio
  icedtea-7-jre-jamvm libnss-mdns sun-java6-fonts fonts-dejavu-extra
  fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei
  ttf-indic-fonts-core ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
  ttf-bengali-fonts
The following NEW packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common
  libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libcups2
  libflac8 libfontconfig1 libjpeg-turbo8 libjpeg8 liblcms2-2 libnspr4 libnss3
  libnss3-nssdb libogg0 libpcsclite1 libpulse0 libsndfile1 libvorbis0a
  libvorbisenc2 openjdk-7-jre-headless tzdata-java
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,107 kB/43.3 MB of archives.
After this operation, 73.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err http://gce.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3-ns
sdb all 2:3.17.4-0ubuntu0.14.04.1
  404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libnss3-nssdb all 2
:3.17.4-0ubuntu0.14.04.1
  404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libnss3 amd64 2:3.1
7.4-0ubuntu0.14.04.1
  404  Not Found [IP: 91.189.92.201 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-ns
sdb_3.17.4-0ubuntu0.14.04.1_all.deb  404  Not Found [IP: 91.189.92.201 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.
17.4-0ubuntu0.14.04.1_amd64.deb  404  Not Found [IP: 91.189.92.201 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mi
ssing?

관련 정보