The Crystal Programming Language Forum

Installation on Ubuntu: fail

It is not possible to install Crystal following the instruction from the webpage on an Ubuntu 18.04.

W: GPG error: https://dist.crystal-lang.org/apt crystal InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 09617FD37CC06B54
E: The repository ‘https://dist.crystal-lang.org/apt crystal InRelease’ is not signed

UPDATE: It works with the instructions for manually installing it via the commands

curl -sL "https://keybase.io/crystal/pgp_keys.asc" | sudo apt-key add -
echo "deb https://dist.crystal-lang.org/apt crystal main" | sudo tee /etc/apt/sources.list.d/crystal.list
sudo apt-get update
1 Like

Thanks for reporting. This is a known issue (https://github.com/crystal-lang/crystal/issues/4417). keys.gnupg.net is unfortunately not very reliable.

Thanks. Perhaps it’d be worth mention the problem in the page.