Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/k6/next/set-up/install-k6/troubleshooting.md, or by sending Accept: text/markdown to https://grafana.com/docs/k6/next/set-up/install-k6/troubleshooting/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.
Troubleshooting
System lacks ca-certificates or gnupg2
Some Linux distributions don’t come bundled with the ca-certificates and gnupg2 packages.
If you use such a distribution, you’ll need to install them with:
sudo apt-get update && sudo apt-get install -y ca-certificates gnupg2This example is for Debian/Ubuntu and derivatives. Consult your distribution’s documentation if you use another one.
Behind a firewall or proxy
Some users have reported that they can’t download the key from Ubuntu’s keyserver.
When they run the gpg command, their firewalls or proxies block their requests to download.
If this issue affects you, you can try this alternative:
curl -s https://dl.k6.io/key.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/k6-archive-keyring.gpgOld rpm-based Linux distributions
Distributions like Amazon Linux 2 and CentOS before version 8 don’t support the PGP V4 signature we use. You’ll need to disable the verification when you install k6:
sudo yum install --nogpgcheck k6Was this page helpful?
Related resources from Grafana Labs

