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
Update Install Documentation for Debian/Ubuntu #639
Comments
Thanks for reporting it @christopwner. Good catch! This article is mentioned by the stack overflow you've posted, and clear and detailed information and instructions on how to update our instructions. TLDR version: we should replace the installation instructions with the following: sudo gpg --no-default-keyring --keyring /usr/share/keyrings/k6-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5AD17C747E3415A3642D57D77C6C491D6AC1D69
echo "deb [signed-by=/usr/share/keyrings/k6-archive-keyring.gpg] https://dl.k6.io/deb stable main" | sudo tee /etc/apt/sources.list.d/k6.list
sudo apt-get update
sudo apt-get install k6 We should also probably add a warning message for anyone who wants to upgrade from using |
For reference, here's a Dockerfile demonstrating the new instructions work: FROM ubuntu:latest
RUN apt-get update && apt-get install -y gpg ca-certificates dirmngr
RUN dirmngr
RUN gpg --no-default-keyring --keyring /usr/share/keyrings/k6-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5AD17C747E3415A3642D57D77C6C491D6AC1D69
RUN echo "deb [signed-by=/usr/share/keyrings/k6-archive-keyring.gpg] https://dl.k6.io/deb stable main" | tee /etc/apt/sources.list.d/k6.list
RUN apt-get update
RUN apt-get install k6 |
Thanks for reporting this @christopwner ! |
Doesn't work on 22.04 LTS.
I guess This approach worked for me:
— using the updated deb822 format: |
@ulidtko Please see the Troubleshooting page about that issue.
You would also get that error if you run it without Thanks for the heads up on the deb822 format. It would make things slightly better, assuming it's well supported in all modern Debian derivatives. We'll need to look into it, and possibly host the |
The current install documentation for Debian/Ubuntu, found here, suggests adding key through apt-key adv which is deprecated for security reasons.
Please provide new install documentation to install using gpg with
/usr/share/keyring
instead as demonstration in this stackoverflow postThe text was updated successfully, but these errors were encountered: