Ask Your Question
0

Unable to set up keys while installing ROS Kinetic on Ubuntu 16.04 LTS

asked 2017-04-14 12:01:37 -0500

moshimojo gravatar image

I follow the instructions from here: http://wiki.ros.org/kinetic/Installat... but in the "set up your keys" step

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

i get this:

Executing: /tmp/tmp.uIulXAU9Vn/gpg.1.sh --keyserver
hkp://ha.pool.sks-keyservers.net:80
--recv-key
421C365BD9FF1F717815A3895523BAEEB01FA116
gpg: requesting key B01FA116 from hkp server ha.pool.sks-keyservers.net
?: ha.pool.sks-keyservers.net: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: Success
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver unreachable
gpg: keyserver communications error: public key not found
gpg: keyserver receive failed: public key not found

I searched and found many answers but i think none of them solve this problem.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-14 17:25:59 -0500

eugene.katsevman gravatar image

Maybe it is because you're behind an http proxy. So other ports aren't working and some http tools are unaware of it.

edit flag offensive delete link more

Comments

I am new to linux. Can you tell me some tips to fix it? Thank you

moshimojo gravatar imagemoshimojo ( 2017-04-16 12:26:11 -0500 )edit

So are you behind a proxy server?

eugene.katsevman gravatar imageeugene.katsevman ( 2017-04-16 13:30:24 -0500 )edit

i'm sorry for the delay. In the network settings it says i am not.

moshimojo gravatar imagemoshimojo ( 2017-04-17 10:32:04 -0500 )edit

can you try sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 instead?

eugene.katsevman gravatar imageeugene.katsevman ( 2017-04-17 11:42:47 -0500 )edit

Oh it says "imported". But in the next step sudo apt-get install ros-kinetic-desktop-full

moshimojo gravatar imagemoshimojo ( 2017-04-17 12:24:43 -0500 )edit

it gives me an error. It says i have held broken packages and non of the packages has been installed

moshimojo gravatar imagemoshimojo ( 2017-04-17 12:27:01 -0500 )edit

did you do sudo apt-get update ? Can you update your answer with new info, please?

eugene.katsevman gravatar imageeugene.katsevman ( 2017-04-17 12:42:03 -0500 )edit

yes i updated. I searched for a same question but i don't see an answer.

moshimojo gravatar imagemoshimojo ( 2017-04-17 15:54:21 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-04-14 12:01:37 -0500

Seen: 1,773 times

Last updated: Apr 14 '17