Stuck on installing AMP

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

OS Name/Version:

NAME=“Ubuntu”
VERSION=“18.04.6 LTS (Bionic Beaver)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 18.04.6 LTS”
VERSION_ID=“18.04”

Product Name/Version: (Always use the full version number - not ‘Latest’)

AMP

Problem Description:

--2022-12-21 19:31:54--  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%  285M=0s

2022-12-21 19:31:54 (285 MB/s) - ‘/usr/share/keyrings/repo.cubecoders.com.gpg’ saved [2270/2270]

Hit:1 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease
Hit:2 http://mirror.cogentco.com/pub/linux/ubuntu bionic InRelease
Hit:3 http://mirror.cogentco.com/pub/linux/ubuntu bionic-updates InRelease
Hit:4 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:6 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 InRelease
Ign:7 http://ppa.launchpad.net/chris-lea/libsodium/ubuntu bionic InRelease
Hit:8 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 Release
Hit:9 https://repo.cubecoders.com debian/ InRelease
Err:10 http://ppa.launchpad.net/chris-lea/libsodium/ubuntu bionic Release
  404  Not Found [IP: 185.125.190.52 80]
Reading package lists...
E: The repository 'http://ppa.launchpad.net/chris-lea/libsodium/ubuntu bionic Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ampinstmgr

Steps to reproduce:

  • Run the amp install script
  • bash <(wget -qO- getamp.sh)

Actions taken to resolve so far:

  • Tried rebooting
  • Flushing

You’ve got a bad repository listing from when you tried to install a PPA, remove http://ppa.launchpad.net/chris-lea/libsodium/ubuntu from your list of package sources.

Hi Mike,

Thanks for helping with that one, I didn’t understand why the repo wasn’t working.
But now I seem to be getting this error?

Err:1 http://repo.cubecoderes.com bionic InRelease
  Could not resolve 'repo.cubecoderes.com'

This seems to be the wrong repo. I’ve tried connecting to that repo and it doesn’t connect.
I know the repo is this one repo.cubecoders.com and I’ve tried adding it

But now I get this issue

Err:1 http://repo.cubecoderes.com bionic InRelease
  Could not resolve 'repo.cubecoderes.com'
Hit:2 http://mirror.cogentco.com/pub/linux/ubuntu bionic InRelease
Hit:3 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease
Hit:4 http://mirror.cogentco.com/pub/linux/ubuntu bionic-updates InRelease
Ign:5 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 InRelease
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:7 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
Hit:8 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 Release
Ign:9 http://repo.cubecoders.com bionic InRelease
Err:10 http://repo.cubecoders.com bionic Release
  404  Not Found [IP: 198.244.186.210 80]
Hit:11 https://repo.cubecoders.com debian/ InRelease
Reading package lists...
E: The repository 'http://repo.cubecoders.com bionic Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ampinstmgr