赞
踩
我的系统是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上已经安装了仍然报错,
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。