Installation doesn't work on AlmaLinux 9

OS Name/Version: AlmaLinux 9.1

Product Name/Version: AMP 2.4.3 x86_64

Problem Description:

I tried to install the AMP using the one-line installer and it failed. Below is part of the console output that caused the failure.

--2023-03-27 22:06:22--  https://repo.cubecoders.com/CubeCoders.repo
Resolving repo.cubecoders.com (repo.cubecoders.com)... 198.244.186.210, 2001:41d0:800:1e2b::c00b:c0de
Connecting to repo.cubecoders.com (repo.cubecoders.com)|198.244.186.210|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95 [text/plain]
Saving to: ‘/etc/yum.repos.d/CubeCoders.repo’

     0K                                                       100%  252M=0s

2023-03-27 22:06:23 (252 MB/s) - ‘/etc/yum.repos.d/CubeCoders.repo’ saved [95/95]

CubeCoders Limited                              5.4 kB/s | 7.8 kB     00:01
Adoptium                                        458  B/s |  80  B     00:00
Errors during downloading metadata for repository 'Adoptium':
  - Status code: 404 for https://packages.adoptium.net/artifactory/rpm/almalinux/9.1/x86_64/repodata/repomd.xml (IP: 54.184.99.224)
Error: Failed to download metadata for repo 'Adoptium': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Adoptium                                        446  B/s |  80  B     00:00
Errors during downloading metadata for repository 'Adoptium':
  - Status code: 404 for https://packages.adoptium.net/artifactory/rpm/almalinux/9.1/x86_64/repodata/repomd.xml (IP: 35.165.60.55)
Error: Failed to download metadata for repo 'Adoptium': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

I tried to follow the Adoptium repository and apparently it doesn’t have a repo for AlmaLinux. Their CentOS/Rocky repo is at 8, and there is a RHEL repo for 9 (see JFrog). I wonder if switching to the repo for RHEL 9 would solve the issue.

Steps to reproduce:

  • Step 1: Run the one-line installer
  • Step 2: Installation settings:
Installation Summary:

AMP System user:                Already exists
Instance Manager:               To be installed
HTTPS setup:                    Yes, via nginx with domain xxx
Install Java:                   Yes
Install 32-bit libraries:       Yes
Install Docker:                 No

Ready to install AMP. Press ENTER to continue or CTRL+C to cancel.
  • Step 3: Installation fails with the above error

Actions taken to resolve so far:

  • Restarting installation
  • Manually changing repo file to point to the RHEL url (doesn’t work because it got overwritten by the installer)

Any help would be appreciated!

Alma isn’t a supported/tested distro, so in this case say no to Java and install that yourself before installing AMP.

Thank you. Can I install any JRE or the one from the Adoptium? Thanks!

Adoptopenjdk is recommended but you can use what you like.

Thank you very much, I will proceed with that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.