install ros error :Set up your keys timed out
Posted hiram-zhang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了install ros error :Set up your keys timed out相关的知识,希望对你有一定的参考价值。
错误:
sudo apt-key adv --keyserver hkp://ha.pool.sks-
keyservers.net --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --
homedir /tmp/tmp.CPcLK5j7k0 --no-auto-check-trustdb --trust-model always --
keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg -
keyserver hkp://ha.pool.sks-keyservers.net --recv-key
421C365BD9FF1F717815A3895523BAEEB01FA116
gpg: requesting key B01FA116 from hkp server ha.pool.sks-keyservers.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
环境:
硬件:friendlyarm NanoPi-M4
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M4/zh
系统:rk3399-sd-lubuntu-desktop-xenial-4.4-armhf-YYYYMMDD.img.zip
解决办法:
https://askubuntu.com/questions/880571/keyserver-timeout-when-trying-to-add-key
https://askubuntu.com/questions/574569/apt-get-stuck-at-0-connecting-to-us-archive-ubuntu-com/575130#575130
解决办法内容摘录:
figured out how to get apt-get to work again.
Edit gai.conf:
sudo vim /etc/gai.conf
change line ~54 to uncomment the following:
precedence ::ffff:0:0/96 100
write and quit:
:wq
CAUTION
Look out line 50 which looks almost identical:
precedence ::ffff:0:0/96 10
This is the wrong line. Go ~4 lines down and you‘ll find the correct line to uncomment because it ends with 100 instead of 10
以上是关于install ros error :Set up your keys timed out的主要内容,如果未能解决你的问题,请参考以下文章
RN小记解决Mac下Pod install 缓慢 或 error: RPC failed; 或 the remote end hung up unexpectedly
RN小记解决Mac下Pod install 缓慢 或 error: RPC failed; 或 the remote end hung up unexpectedly
Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container..
How to set up a basic working Appium test environment
Install报错Error: Can‘t find Python executable “python“, you can set the PYTHON env var