Cubecoders repo is not signed

OS Name/Version: 22.04.2 LTS (GNU/Linux 5.15.0-1037-oracle aarch64)

Product Name/Version: AMP 2.4.5

Problem Description: When I try to install amp I get an error that something went wrong. After trying to run apt update it says that the repository ‘repo.cubecoders.com - /aarch64/ debian/ Release’ is not signed.

Installing AMP...
amp already exists. Skipping...
Updating System...
Installing prerequisites...
Installing Java for Minecraft...
Installing CPx2...
 - Configuring package manager and installing dependencies...
 - Fetching sources...
 - Compiling 32-bit x86 support... (This may take a while)
 - Compiling x86_64 support... (This may take a while)
 - Restarting system services...
 - Done!
Installing nginx and certbot...
Adding component(s) 'universe' to all repositories.
Hit:1 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:3 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 https://packages.adoptium.net/artifactory/deb jammy InRelease
Reading package lists... Done
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:2 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 https://packages.adoptium.net/artifactory/deb jammy InRelease
Reading package lists... Done
Checking settings... Domain host.jjscore.games resolves correctly to 158.101.172.104.
Adding CubeCoders DEB 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-20230622-083550.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.

And here I run apt update:

Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:2 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Ign:5 https://repo.cubecoders.com/aarch64 debian/ InRelease
Get:6 https://repo.cubecoders.com/aarch64 debian/ Release [512 B]
Ign:7 https://repo.cubecoders.com/aarch64 debian/ Release.gpg
Hit:8 https://packages.adoptium.net/artifactory/deb jammy InRelease
Reading package lists... Done
E: The repository 'https://repo.cubecoders.com/aarch64 debian/ Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Actions taken to resolve so far: I tried adding [allow-insecure=yes] to the /etc/apt/sources.list.d/repo.cubecoders.com.list but I think it gets replaced after running script.

ARM builds are temporarily unavailable. They’ll be back soon :slight_smile:

Is there an ETA? 2 day ago I was told that it should be available the same day.

Try again now that a new build has just gone out - it’s not been validated yet so I have no idea if it works or not yet.

Still doesn’t work. Is there a way to modify the install script so that the sign check is skipped?

It is not, I’m looking at it today so I’ll reply when it’s up and running again.

Hey, should be all good now!

Still getting this:

Adding CubeCoders DEB 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.
Thu Jun 22 14:02:02 UTC 2023
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:2 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 https://repo.cubecoders.com/aarch64 debian/ InRelease
Hit:6 https://packages.adoptium.net/artifactory/deb jammy InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
jq is already the newest version (1.6-2.1ubuntu3).
wget is already the newest version (1.21.2-2ubuntu1).
qrencode is already the newest version (4.1.1-1).
dirmngr is already the newest version (2.2.27-3ubuntu2.1).
git is already the newest version (1:2.34.1-1ubuntu1.9).
gpg is already the newest version (2.2.27-3ubuntu2.1).
gpg-agent is already the newest version (2.2.27-3ubuntu2.1).
software-properties-common is already the newest version (0.99.22.7).
unzip is already the newest version (6.0-26ubuntu3.1).
apt-transport-https is already the newest version (2.4.9).
dnsutils is already the newest version (1:9.18.12-0ubuntu0.22.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Adding Adoptium APT repository...
deb [signed-by=/usr/share/keyrings/adoptium.gpg] https://packages.adoptium.net/artifactory/deb jammy main
Hit:1 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:3 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 https://repo.cubecoders.com/aarch64 debian/ InRelease
Hit:6 https://packages.adoptium.net/artifactory/deb jammy InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
temurin-18-jdk is already the newest version (18.0.2.1+1).
temurin-19-jdk is already the newest version (19.0.2.0.0+7).
temurin-17-jdk is already the newest version (17.0.7.0.0+7).
temurin-8-jdk is already the newest version (8.0.372.0.0+7-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
certbot is already the newest version (1.21.0-1build1).
python3-certbot-nginx is already the newest version (1.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
nginx is already the newest version (1.18.0-6ubuntu14.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nginx
--2023-06-22 14:02:47--  https://repo.cubecoders.com/archive.key
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: 2270 (2.2K) [application/octet-stream]
Saving to: ‘/usr/share/keyrings/repo.cubecoders.com.gpg’

     0K ..                                                    100% 2.52G=0s

2023-06-22 14:02:47 (2.52 GB/s) - ‘/usr/share/keyrings/repo.cubecoders.com.gpg’ saved [2270/2270]

Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:2 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://eu-frankfurt-1-ad-3.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 https://repo.cubecoders.com/aarch64 debian/ InRelease
Hit:6 https://packages.adoptium.net/artifactory/deb jammy InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ampinstmgr

Apt update doesn’t throw any errors tho.

Ah excellent, in that case run it one more time and it will work.

1 Like

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