Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Ubuntu 21.10 getamp.sh InstallJava

  • 208 Views
  • Last Post 29 October 2021
  • Topic Is Solved
MobiuSRIT posted this 29 October 2021

OS Name/Version: Ubuntu 21.10

Product Name/Version: AMP Triton v2.3

Problem Description: Attempting to get Java installed on a new AMP install.

Steps to reproduce:

# sudo su
# bash <(wget -qo-="" getamp.sh)="" installjava="" please="" wait="" while="" getamp="" examines="" your="" system...="" adding="" adoptopenjdk="" repository...="" installing="" java="" for="" minecraft...="" done="" #="" cat="" getamp.log="" fri="" oct="" 29="" 20:16:00="" utc="" 2021="" warning:="" apt-key="" is="" deprecated.="" manage="" keyring="" files="" in="" trusted.gpg.d="" instead="" (see="" apt-key(8)).="" executing:="" mp/apt-key-gpghome.j0e7ujhbod/gpg.1.sh="" --fetch-keys="" https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public="" gpg:="" requesting="" key="" from="" 'https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public'="" gpg:="" key="" 8ac3b29174885c03:="" "adoptopenjdk="" (used="" for="" publishing="" rpm="" and="" deb="" files)="">" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Hit:1 http://us.archive.ubuntu.com/ubuntu impish InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu impish-security InRelease [99.5 kB]
Hit:5 http://repo.cubecoders.com debian/ InRelease
Ign:6 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb impish InRelease
Err:7 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb impish Release
  404  Not Found [IP: 35.190.146.4 443]
Reading package lists...
E: The repository 'https://adoptopenjdk.jfrog.io/adoptopenjdk/deb impish Release' does not have a Release file.
Repository: 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ impish main'
Description:
Archive for codename: impish components: main
More info: https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
Adding repository.
Found existing deb entry in /etc/apt/sources.list.d/archive_uri-https_adoptopenjdk_jfrog_io_adoptopenjdk_deb_-impish.list
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_adoptopenjdk_jfrog_io_adoptopenjdk_deb_-impish.list
Found existing deb-src entry in /etc/apt/sources.list.d/archive_uri-https_adoptopenjdk_jfrog_io_adoptopenjdk_deb_-impish.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_adoptopenjdk_jfrog_io_adoptopenjdk_deb_-impish.list
Hit:1 http://us.archive.ubuntu.com/ubuntu impish InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu impish-security InRelease [99.5 kB]
Hit:5 http://repo.cubecoders.com debian/ InRelease
Ign:6 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb impish InRelease
Err:7 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb impish Release
  404  Not Found [IP: 35.190.146.4 443]
Reading package lists...
E: The repository 'https://adoptopenjdk.jfrog.io/adoptopenjdk/deb impish Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package adoptopenjdk-8-hotspot
E: Unable to locate package adoptopenjdk-11-hotspot
E: Unable to locate package adoptopenjdk-16-hotspot

is Ubuntu 21.10 too new?

EDIT:

Can confirm. Looking at https://adoptopenjdk.jfrog.io/ui/native/deb/dists -- impish isn't there yet. Switched to 21.04 and all is as expected. The AMP scripts do their thing.

Mike posted this 29 October 2021

It probably is, yes. We only recommend using LTS builds.

Close