inconshreveable / ngrok

Unified ingress for developers

Home Page:https://ngrok.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ngrok fails to install on Linux with provided script in Domain Setup

ontoneio opened this issue · comments

In setting up a tunnel after making a domain.

image

You are given this script to install ngrok:

curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.ngrok.com/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list apt update && apt install ngrok

This does not work and is different from the install script on the Documentation page that actually works.

curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | \
  sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && \
  echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | \
  sudo tee /etc/apt/sources.list.d/ngrok.list && \
  sudo apt update && sudo apt install ngrok

Please correct the scripts in the proper locations.

Thanks!

I'm having this issue as well. Attempting to use it in a docker container build based on mcr.microsoft.com/devcontainers/python:0-3.10, and it says that it doesn't have a signature. It doesn't appear to be docker caching related, because removing the base image doesn't resolve it.

I do think this was working for me more recently than this issue was created, though.