Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx Amplify Agent Install Failed #84

Open
shrigabhishek opened this issue Aug 14, 2022 · 10 comments
Open

Nginx Amplify Agent Install Failed #84

shrigabhishek opened this issue Aug 14, 2022 · 10 comments

Comments

@shrigabhishek
Copy link

shrigabhishek commented Aug 14, 2022

Error when i try to install nginx amplify agent in ubuntu 22.04

Hit:1 https://deb.nodesource.com/node_16.x jammy InRelease
Hit:2 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit:3 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://mirrors.digitalocean.com/ubuntu jammy InRelease
Hit:6 http://mirrors.digitalocean.com/ubuntu jammy-updates InRelease
Hit:7 http://mirrors.digitalocean.com/ubuntu jammy-backports InRelease
Ign:8 https://packages.amplify.nginx.com/ubuntu jammy InRelease
Err:9 https://packages.amplify.nginx.com/ubuntu jammy Release
  404  Not Found [IP: 52.24.210.11 443]
Reading package lists... Done
W: https://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://packages.amplify.nginx.com/ubuntu jammy Release' does not have a Release file.
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.
@defanator defanator transferred this issue from another repository Aug 24, 2022
@srigit
Copy link

srigit commented Oct 12, 2022

Error when i try to install nginx amplify agent in ubuntu 22.04

Hit:1 https://deb.nodesource.com/node_16.x jammy InRelease
Hit:2 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit:3 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://mirrors.digitalocean.com/ubuntu jammy InRelease
Hit:6 http://mirrors.digitalocean.com/ubuntu jammy-updates InRelease
Hit:7 http://mirrors.digitalocean.com/ubuntu jammy-backports InRelease
Ign:8 https://packages.amplify.nginx.com/ubuntu jammy InRelease
Err:9 https://packages.amplify.nginx.com/ubuntu jammy Release
  404  Not Found [IP: 52.24.210.11 443]
Reading package lists... Done
W: https://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://packages.amplify.nginx.com/ubuntu jammy Release' does not have a Release file.
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.

I ran into the same issue. Use the script steps instead of the manual install.

@f1dz
Copy link

f1dz commented Nov 25, 2022

I tried both, the script and the manual way. Both failed.
It seems that the package was not found because the server was down or something

@srigit
Copy link

srigit commented Jan 3, 2023

What error do you get?

@f1dz
Copy link

f1dz commented Jan 4, 2023

@srigit I'm using Docker Amplify eventually
https://github.com/nginxinc/docker-nginx-amplify

@joaopcm
Copy link

joaopcm commented Jan 4, 2023

Got the same error 🤔

@mreho
Copy link

mreho commented Apr 29, 2023

Hello, apparently Nginx team forgot to mention that the repository has moved for newer versions of Ubuntu (>= 18.04) and Python (>= 3.x).

Here is the command you should use to setup the repo :

#> codename=`lsb_release -cs` && \
os=`lsb_release -is | tr '[:upper:]' '[:lower:]'` && \
echo "deb http://packages.amplify.nginx.com/py3/${os}/ ${codename} amplify-agent" > \
/etc/apt/sources.list.d/nginx-amplify.list

As you can see py3 has been added inside the URI.

Hope this helps :)

@triplesixman
Copy link

Didn't work for me on Debian 12. I hope an update will add it soon.

@achawla2012
Copy link

Didn't work for me on Debian 12. I hope an update will add it soon.

@triplesixman There is an existing issue for adding support for Debian 12 in the NGINX Amplify Agent repo: #100.

@achawla2012
Copy link

Hello, please make sure you have up-to agent version installed https://amplify.nginx.com/docs/guide-installing-and-managing-nginx-amplify-agent.html#updating-the-agent

@mhannan
Copy link

mhannan commented Dec 26, 2023

I was facing a similar issue, then I came across following solution which worked for me:
https://askubuntu.com/questions/1385440/ubuntu-sudo-apt-get-update-404-not-found-problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants