ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Install problem with ros2

asked 2015-11-11 15:50:35 -0600

Nolan gravatar image

When I attempt to install the prerequisites (OSRF sources for DDS) on the ros2 install I find a key problem. For example, when I type:

sudo apt-key adv --keyserver --recv-keys D2486D2DD83DB69272AFE98867170598AF249743

it times out with the msg:

gpg: requesting key AF249743 from hkp server gpg: keyserver timed out gpg: keyserver receive failed: keyserver error

Reading the net some have said to add port 80 to the command, but when I use:

sudo apt-key adv --keyserver --recv-keys D2486D2DD83DB69272AFE98867170598AF249743

it does not recognize that host and gives me: gpgkeys: no keyserver host provided gpg: keyserver internal error gpg: keyserver receive failed: keyserver error

I had no problem installing the original ros. Any advice appreciated.

Regards, Nolan

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-11 19:22:36 -0600

Nolan gravatar image

Actually I fixed this myself. You go to the MIT PGP Key Server ( ) - input the text string into the search and do the search. You will probably have to put 0x in front of your string. You then copy the key and paste it into a text file, which you can import on the command line via gpg --import key.txt

I did have a problem farther downstream however. When I tried to run the talker and listener it could not find a library. The error msg was:

error while loading shared libraries: cannot open shared object file: No such file or directory

I assume I need to get DDS now, so any advice on that?

Regards, Nolan

edit flag offensive delete link more


Nolan, ROS2 is currently in alpha and rather experimental. I suggest you report issues you encounter while testing/developing at ros2/ros2/issues.

As to your problem: that is not really ROS2 specific, but seems more like a network issue, local to your infra.

gvdhoorn gravatar image gvdhoorn  ( 2015-11-12 02:00:19 -0600 )edit

Were you able to figure this out?

Sidd gravatar image Sidd  ( 2017-01-17 17:58:40 -0600 )edit

@Sidd: things have changed so much since November last year that it could very well be that you have a different problem.

In any case, I would still advice you to post an issue over at ros2/ros2/issues.

gvdhoorn gravatar image gvdhoorn  ( 2017-01-18 05:36:44 -0600 )edit

Thanks, I think I missed out on a dependency before installing ros2.0. Carefully went through all the steps again, and can confirm that the installation page for ros2 ( ) works perfectly.

Sidd gravatar image Sidd  ( 2017-01-19 14:05:38 -0600 )edit

Question Tools



Asked: 2015-11-11 15:50:35 -0600

Seen: 889 times

Last updated: Nov 11 '15