简体   繁体   English

在 ubuntu 18.04 gpg 上安装 mariadb 10.3 gpg 添加密钥错误 gpg: keyserver receive failed: 服务器指示失败

[英]Install mariadb 10.3 on ubuntu 18.04 gpg add key error gpg: keyserver receive failed: Server indicated a failure

当我想在 ubuntu 18.04 上安装 mariadb 10.3 时,首先我执行了这个评论sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 Executing: /tmp/apt-key-gpghome.4x5jDMaALH/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8我收到以下错误:

gpg: keyserver receive failed: Server indicated a failure

I was facing the same issue, This thing helped me to add the signature.我遇到了同样的问题,这件事帮助我添加了签名。 Just edit your resolve.conf file and added google DNS只需编辑您的 resolve.conf 文件并添加 google DNS

just went and added this line to刚刚去添加了这一行

/etc/resolv.conf /etc/resolv.conf

nameserver 8.8.8.8 # Google dns

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM