我正在遵循当前的晶体安装文档,我的安装第一刻停止并给出错误:
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.4GKHZljOFL/S.dirmngr' failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr
我已经安装了目录。
首先,您需要从源目录中删除 crystal.list 以手动从 start 开始安装。
sudo rm /etc/apt/sources.list.d/crystal.list
然后:
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