OS Name/Version:
Operating System: CentOS Stream 9
CPE OS Name: cpe:/o:centos:centos:9
Kernel: Linux 5.14.0-168.el9.x86_64
Architecture: x86-64
Problem Description:
Receiving error during use of the one-line install
The following is from the created logfile which I submitted through the app.
Adoptium 326 B/s | 80 B 00:00
Errors during downloading metadata for repository 'Adoptium':
- Status code: 404 for https://packages.adoptium.net/artifactory/rpm/centos/9/x86_64/repodata/repomd.xml (IP: 52.39.227.220)
Error: Failed to download metadata for repo 'Adoptium': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Now, when I perform any other package operations using yum the same error keeps coming up.
for example
yum update
Adoptium 303 B/s | 80 B 00:00
Errors during downloading metadata for repository 'Adoptium':
- Status code: 404 for https://packages.adoptium.net/artifactory/rpm/centos/9/x86_64/repodata/repomd.xml (IP: 44.240.59.148)
Error: Failed to download metadata for repo 'Adoptium': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Steps to reproduce:
-
Visit CubeCoders Limited
-
select CentOS, Fedora, Rocky, Red Hat Platform
-
Exexute:
sudo su -l
bash <(wget -qO- getamp.sh)
-
Follow prompted instructions
Installation Summary:
AMP System user: Already exists
Instance Manager: To be installed
HTTPS setup: Yes, via nginx with domain amp.ternsystems.ca
Install Java: Yes
Install 32-bit libraries: Yes
Install Docker: No
Ready to install AMP. Press ENTER to continue or CTRL+C to cancel.
- Press enter
Installing AMP...
amp already exists. Skipping...
Updating System...
Installing prerequisites...
Adding AdoptOpenJDK RPM repository...
Installing Java for Minecraft...
Installing 32-bit dependencies for srcds...
Installing nginx and certbot...
chmod: cannot access '/usr/local/bin/certbot-auto': No such file or directory
Updating SELinux rules (httpd relay)...
Checking settings... Domain --------- resolves correctly to ###.###.###.###.
Adding CubeCoders RPM repository...
Installing instance manager...
- Installing via package manager...
Failed to install instance manager. Aborting...
Possible causes for this are an unsupported distribution, or the repository being in the middle of a sync. In which case wait 30 minutes and try again, re-running the same installation command.
Something went wrong during the installation. Would you like to upload your setup log for easy sharing?
This will upload /root/getamp-20221216-114013.log to the hastebin service and give you a URL you can share.
The log file may contain sensitive information such as username, any supplied domain names or your systems hostname
so if in doubt - check the file manually and upload it yourself.
Actions taken to resolve so far:
Searched all over the web to try and find an answer
In doing some more digging of the information displayed in the install progress
Installing AMP...
amp already exists. Skipping...
Updating System...
Installing prerequisites...
Adding AdoptOpenJDK RPM repository...
It appears that AdoptOpenJDK could be the problem?
Installation | AdoptOpenJDK - Open source, prebuilt OpenJDK binaries