2

I'm trying to install tomcat7 on ubuntu 14.04 64bit using the following command

sudo apt-get install tomcat7

the required libs can't be downloaded with the following error

Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main openjdk-7-jre-headless amd64 7u65-2.5.1-4ubuntu1~0.14.04.2
  404  Not Found [IP: 91.189.92.200 80]
Err http://sy.archive.ubuntu.com/ubuntu/ trusty-updates/main openjdk-7-jre-headless amd64 7u65-2.5.1-4ubuntu1~0.14.04.2
  404  Not Found [IP: 91.189.88.149 80]
Err http://sy.archive.ubuntu.com/ubuntu/ trusty-updates/main icedtea-7-jre-jamvm amd64 7u65-2.5.1-4ubuntu1~0.14.04.2
  404  Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://sy.archive.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-headless_7u65-2.5.1-4ubuntu1~0.14.04.2_amd64.deb  404  Not Found [IP: 91.189.88.149 80]

E: Failed to fetch http://sy.archive.ubuntu.com/ubuntu/pool/main/o/openjdk-7/icedtea-7-jre-jamvm_7u65-2.5.1-4ubuntu1~0.14.04.2_amd64.deb  404  Not Found [IP: 91.189.88.149 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I tried the sugggested --fix-missing but still getting the same error, what can I do to solve it?

αғsнιη
  • 36,350

1 Answers1

0

apt tries to download an outdated version, currently this is the most recent version found there:

openjdk-7-jre-headless_7u65-2.5.2-3~14.04_amd64.deb

You need to run apt-get update.

αғsнιη
  • 36,350
Christian
  • 361