ROS Gazeboll Keyser...
 
Notifications
Clear all

ROS Gazeboll Keyserver Error  


huckOhio
(@huckohio)
Estimable Member
Joined: 2 years ago
Posts: 142
Topic starter  

I am beyond frustrated and hoping that you all can help me.  I am not experienced with linux and I follow every step in the installation instructions.  When I run into errors (which is frequent with Ubuntu) I google and try and find a resolution.  I have been working on this problem for four days across Ubuntu 18.04 and 20.04.

I have a TurtleBot Waffle Pi and I am loading ROS on a PC running Ubuntu.  I was installing Gazeboll with the command "curl -sSL http://get.gazebosim.org | sh"

and it gives me this error.

"gpg: keyserver receive failed: Server indicated a failure"

I have search for four days and cannot find a fix that works for me.  I've tried opening the ports in the firewall and other firewall recommendations.  This problem happened with version 18.04 and 20.04.  This is a script that is executing so I cannot make any changes to the keyserver used or how the key is formatted.  The full command/response is:

mph@mph-ubuntu-ws:~/colcon_ws$ curl -sSL http://get.gazebosim.org | sh
=======================================================
GAZEBO INSTALLATION SCRIPT
=======================================================

This script is installing the latest stable version of
Gazebo Simulator available from your package manager

In Debian this script will setup the osrfoundation
repository to install the latest package available

+ sudo -E sh -c apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
Executing: /tmp/apt-key-gpghome.lTAcRajWtx/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
gpg: keyserver receive failed: Server indicated a failure

 

Thanks!


Quote
frogandtoad
(@frogandtoad)
Honorable Member
Joined: 2 years ago
Posts: 744
 

@huckohio

Posted by: @huckohio

I am beyond frustrated and hoping that you all can help me.  I am not experienced with linux and I follow every step in the installation instructions.  When I run into errors (which is frequent with Ubuntu) I google and try and find a resolution.  I have been working on this problem for four days across Ubuntu 18.04 and 20.04.

I have a TurtleBot Waffle Pi and I am loading ROS on a PC running Ubuntu.  I was installing Gazeboll with the command "curl -sSL http://get.gazebosim.org | sh"

and it gives me this error.

"gpg: keyserver receive failed: Server indicated a failure"

I have search for four days and cannot find a fix that works for me.  I've tried opening the ports in the firewall and other firewall recommendations.  This problem happened with version 18.04 and 20.04.  This is a script that is executing so I cannot make any changes to the keyserver used or how the key is formatted.  The full command/response is:

mph@mph-ubuntu-ws:~/colcon_ws$ curl -sSL http://get.gazebosim.org | sh
=======================================================
GAZEBO INSTALLATION SCRIPT
=======================================================

This script is installing the latest stable version of
Gazebo Simulator available from your package manager

In Debian this script will setup the osrfoundation
repository to install the latest package available

+ sudo -E sh -c apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
Executing: /tmp/apt-key-gpghome.lTAcRajWtx/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
gpg: keyserver receive failed: Server indicated a failure

Thanks!

I just installed the latest version of Kubuntu yesterday, and thought I would try to install it based on your experience above to see what happens 🙂

First off, it's always a good idea to update the repositories:

sudo apt update

Now I got further than you did, but I also got some errors at the end, only because my version of Kubuntu is not supported, which may or may not be your problem at this stage.  Since it's complaining about the gpg keyserver, I would try the following command to install that manually first:

wget  https://packages.osrfoundation.org/gazebo.key  -O - | sudo apt-key add -

Taken from the page at this link: install

Start with the update command above, and then follow on from: "Alternative installation: step-by-step".

On my attempt, I got to the end and received the following error:
    "E: Unable to locate package gazebo11 (again, this is because I don't have the correct O/S)"

In any case, if that still doesn't work for you, I recommend downloading and installing VirtualBox (very easy), and then downloading and importing into VirtualBox a pre-built version of ROSS that is all ready to go - I have done that myself about 12 months ago, and it works fine.

Secondly, you could install Docker (which is more versatile and efficient), but it has a steeper learning curve, hence I suggest the VirtualBox route to start with.

Good luck.


huckOhio liked
ReplyQuote
huckOhio
(@huckohio)
Estimable Member
Joined: 2 years ago
Posts: 142
Topic starter  

@frogandtoad

You ROCK!  That worked!  Thank you.


ReplyQuote
frogandtoad
(@frogandtoad)
Honorable Member
Joined: 2 years ago
Posts: 744
 

@huckohio

Posted by: @huckohio

@frogandtoad

You ROCK!  That worked!  Thank you.

Awesome, and glad to help!
Thanks for letting me know!

Cheers.


ReplyQuote
huckOhio
(@huckohio)
Estimable Member
Joined: 2 years ago
Posts: 142
Topic starter  

@frogandtoad

Sorry, but I am having another problem installing ROS2 on the raspberry pi 3B+.  

I am at this part of the installation instructions:

$ sudo apt install python3-argcomplete python3-colcon-common-extensions libboost-system-dev build-essential
$ sudo apt install ros-foxy-hls-lfcd-lds-driver
$ sudo apt install ros-foxy-turtlebot3-msgs
$ sudo apt install ros-foxy-dynamixel-sdk
$ mkdir -p ~/turtlebot3_ws/src && cd ~/turtlebot3_ws/src
$ git clone -b foxy-devel https://github.com/ROBOTIS-GIT/turtlebot3.git
$ cd ~/turtlebot3_ws/src/turtlebot3
$ rm -r turtlebot3_cartographer turtlebot3_navigation2
$ cd ~/turtlebot3_ws/
$ echo 'source /opt/ros/foxy/setup.bash' >> ~/.bashrc
$ source ~/.bashrc
$ colcon build --symlink-install --parallel-workers 1
$ echo 'source ~/turtlebot3_ws/install/setup.bash' >> ~/.bashrc
$ source ~/.bashrc

Specifically on this line:

colcon build --symlink-install --parallel-workers 1

... and the build fails.  I found the installation instructions for colcon https://buildmedia.readthedocs.org/media/pdf/colcon/released/colcon.pdf

... but I am not sure what commands i need to execute - if any.  I really can't decipher the problem from the error messages.  Output from the terminal is below:

ubuntu@ubuntu:~/turtlebot3_ws$ colcon build --symlink-install --parallel-workers 1
Starting >>> turtlebot3_description
Finished <<< turtlebot3_description [1.31s]
Starting >>> turtlebot3_node
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]turtlebot3_node:build 28% - 18min 2.8s]
[Processing: turtlebot3_node][18min 42.6s] [1/6 complete] [turtlebot3_node:build 28% - 18min 39.9s]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node][25min 11.1s] [1/6 complete] [turtlebot3_node:build 28% - 25min 8.4s]
[26min 6.6s] [1/6 complete] [turtlebot3_node:build 28% - 26min 3.9s][Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]
[Processing: turtlebot3_node]

[Processing: turtlebot3_node] Processing: turtlebot3_node]
[41min 14.6s] [1/6 complete] [turtlebot3_node:build 28% - 41min 11.9s]

I've ran this command three times.  Each time it failed in about 12 minutes.  I ran it again to get a clean printout and now it seems to be stuck!  Going to try and reboot the Pi.

When I rebooted I saw an error that the Pi "failed to activate swap space".

 

 


ReplyQuote
huckOhio
(@huckohio)
Estimable Member
Joined: 2 years ago
Posts: 142
Topic starter  

@frogandtoad

It was the swap space.  The command worked.


ReplyQuote
frogandtoad
(@frogandtoad)
Honorable Member
Joined: 2 years ago
Posts: 744
 

@huckohio

Posted by: @huckohio

@frogandtoad

It was the swap space.  The command worked.

No worries, glad you figured it out.

Out of curiosity... did you clear the swap space, or something else?


ReplyQuote
huckOhio
(@huckohio)
Estimable Member
Joined: 2 years ago
Posts: 142
Topic starter  

@frogandtoad

In the fstab file I was supposed to enter: 

/swapfile swap swap defaults 0 0

but what I entered was:

/swapspace swap swap defaults 0 0

The error prevented the swapspace from being created.  I just happened to look at the monitor during the reboot and saw the error.  Just dumb luck. 


ReplyQuote
frogandtoad
(@frogandtoad)
Honorable Member
Joined: 2 years ago
Posts: 744
 

@huckohio

Posted by: @huckohio

@frogandtoad

In the fstab file I was supposed to enter: 

/swapfile swap swap defaults 0 0

but what I entered was:

/swapspace swap swap defaults 0 0

The error prevented the swapspace from being created.  I just happened to look at the monitor during the reboot and saw the error.  Just dumb luck. 

 I see... thanks for letting me know.


ReplyQuote