简体   繁体   中英

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

just went and added this line to

/etc/resolv.conf

nameserver 8.8.8.8 # Google dns

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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