当前位置:   article > 正文

ubuntu报错gpg: keyserver receive failed: No dirmngr解决方法

gpg: keyserver receive failed: no dirmngr

ubuntu报错gpg: keyserver receive failed: No dirmngr解决方法

我的系统是ubuntu20.04,在依照weechat官网安装教程进行到导入PGP key时,遇到了这个问题:

(base) yef@yef-Ubuntu:~$ sudo gpg --no-default-keyring --keyring /usr/share/keyrings/weechat-archive-keyring.gpg --keyserver hkps://keys.openpgp.org --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E
gpg: failed to create temporary file ‘/root/.gnupg/.#lk0x000055fc2ba442e0.yef-Ubuntu.27705’: No such file or directory
gpg: connecting dirmngr at ‘/root/.gnupg/S.dirmngr’ failed: No such file or directory
gpg: keyserver receive failed: No dirmngr

检查一下dirmngr是否安装了:

(base) yef@yef-Ubuntu:~$ which dirmngr
/usr/bin/dirmngr

如果没有dirmngr,直接通过apt-get install安装就好。
我的ubuntu上已经安装了仍然报错,

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/129300
推荐阅读
相关标签
  

闽ICP备14008679号