Crystal installation on WSL fails

孤人 提交于 2019-12-13 03:32:19

问题


I'm following the current crystal installation docs, my installation stops at the first moment and give the error:

gpg: connecting dirmngr at '/tmp/apt-key-gpghome.4GKHZljOFL/S.dirmngr' failed: IPC connect call failed gpg: keyserver receive failed: No dirmngr

I've already installed dirmngr.


回答1:


First of all, you need to remove crystal.list from sources directory to install from start manually.

sudo rm /etc/apt/sources.list.d/crystal.list

And then:

curl -s "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x09617FD37CC06B54" | sudo apt-key add -
echo "deb https://dist.crystal-lang.org/apt crystal main" > /etc/apt/sources.list.d/crystal.list
sudo apt-get update
sudo apt-get install crystal


来源:https://stackoverflow.com/questions/50990195/crystal-installation-on-wsl-fails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!