Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any an issue with the file name openjdk-8-jdk-headless?

I am trying to install Spark which requires Java with using

!apt-get install openjdk-8-jdk-headless -qq > /dev/null

And I get an error after it.

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u252-b09-1~18.04_amd64.deb 404 Not Found [IP: 91.189.88.142 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk-headless_8u252-b09-1~18.04_amd64.deb 404 Not Found [IP: 91.189.88.142 80]

Is there any problem with the servers?

I am doing this on Google Colab.

like image 401
Luis Vivas Avatar asked Sep 14 '25 03:09

Luis Vivas


1 Answers

You should update your local version of the package catalog.

sudo apt update

After the above synchronisation step, you can re-issue the command

sudo apt-get install openjdk-8-jdk-headless -qq > /dev/null

Thereby, it will download the latest version of openjdk-8-jdk-headless. There is an updated package in the repository. It has the version 8u342-b07. Note the difference.

See also this direct link here to download a .deb package.:

like image 92
MWiesner Avatar answered Sep 15 '25 18:09

MWiesner