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

albertleng's profile - activity

2021-05-26 15:42:14 -0500 marked best answer ROS2 Eloquent installation failed in Ubuntu 18.04.4 LTS

Referring to link:https://index.ros.org/doc/ros2/Installation/Eloquent/Linux-Install-Debians/ I am installing ROS2 Eloquent into my Ubuntu 18.04.4 LTS.

My system's information is as below (via uname -a)

Linux myname 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I could Setup Locale and Setup Sources with no issue. Then, it came to Install ROS 2 packages.

Running sudo apt update gave me:

Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease        
Hit:5 http://packages.ros.org/ros2/ubuntu bionic InRelease               
Hit:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease         
Reading package lists... Done                      
Building dependency tree       
Reading state information... Done
234 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://packages.ros.org/ros2/ubuntu bionic InRelease' doesn't support architecture 'i386'

What does the last error message mean? How do I resolve this?

Then, I ran sudo apt install ros-eloquent-desktop and it returned:

  The following packages will be upgraded:
    cpp-7 g++-7 gcc-7 gcc-7-base libasan4 libcilkrts5 libdrm-amdgpu1
  libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libexif12
  libgcc-7-dev libglib2.0-0 libglib2.0-bin libicu60 libjpeg-turbo8 libjson-c3
  libopenexr22 libpython2.7 libpython2.7-minimal libpython2.7-stdlib
  libpython3.6 libpython3.6-minimal libpython3.6-stdlib libsqlite3-0 libssl1.1
  libstdc++-7-dev libubsan0 libuuid1 libwayland-client0 libwayland-cursor0
  libwayland-egl1 libwayland-server0 libxml2 python3.6 python3.6-minimal
38 upgraded, 881 newly installed, 0 to remove and 196 not upgraded.
    Need to get 9,381 kB/432 MB of archives.
    After this operation, 1,967 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Ign:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04
    Err:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04
      Connection failed [IP: 91.189.88.152 80]
    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-7/gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb  Connection failed [IP: 91.189.88.152 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I truncated the response to only keep the last part which I think will help you to know what's wrong. I googled but could not find the solution. I don't have any firewall and antivirus installed as well.

Please help. Thanks a lot.

2021-05-26 15:40:28 -0500 marked best answer colcon build failed for soss-ros1 in soss

I followed steps in https://github.com/osrf/soss to run the demo for understanding of SOSS. I have installed both ROS Crystal and Melodic. However, colcon build failed for building soss-ros1 . I attach the logs. I am unsure what those error messages mean. Can you please help to take a look? Thanks.

    [0.093s] [  1%] Building CXX object CMakeFiles/soss-genmsg-ros1-std_msgs-mix.dir/soss/genmsg/ros1/std_msgs/src/msg/convert__msg__Bool.cpp.o
[0.110s] In file included from /usr/include/c++/5/type_traits:35:0,
[0.110s]                  from /home/albert/workspaces/soss/install/soss-core/include/soss/detail/Message-impl.hpp:23,
[0.110s]                  from /home/albert/workspaces/soss/install/soss-core/include/soss/Message.hpp:121,
[0.110s]                  from /home/albert/workspaces/soss/install/soss-core/include/soss/utilities.hpp:21,
[0.110s]                  from /home/albert/workspaces/soss-ros1/install/soss-ros1/include/soss/ros1/utilities.hpp:22,
[0.110s]                  from /home/albert/workspaces/soss-ros1/build/soss-ros1-test/soss/genmsg/ros1/std_msgs/include/soss/genmsg/ros1/std_msgs/msg/convert__msg__Bool.hpp:9,
[0.110s]                  from /home/albert/workspaces/soss-ros1/build/soss-ros1-test/soss/genmsg/ros1/std_msgs/src/msg/convert__msg__Bool.cpp:7:
[0.111s] /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
[0.111s]  #error This file requires compiler and library support \
[0.111s]   ^
[0.481s] In file included from /home/albert/workspaces/soss/install/soss-core/include/soss/utilities.hpp:21:0,
[0.481s]                  from /home/albert/workspaces/soss-ros1/install/soss-ros1/include/soss/ros1/utilities.hpp:22,
[0.481s]                  from /home/albert/workspaces/soss-ros1/build/soss-ros1-test/soss/genmsg/ros1/std_msgs/include/soss/genmsg/ros1/std_msgs/msg/convert__msg__Bool.hpp:9,
[0.481s]                  from /home/albert/workspaces/soss-ros1/build/soss-ros1-test/soss/genmsg/ros1/std_msgs/src/msg/convert__msg__Bool.cpp:7:
[0.481s] /home/albert/workspaces/soss/install/soss-core/include/soss/Message.hpp:38:14: error: expected ‘,’ or ‘...’ before ‘&&’ token
[0.482s]    Field(Field&& other);
[0.482s]               ^
[0.482s] /home/albert/workspaces/soss/install/soss-core/include/soss/Message.hpp:38:22: error: invalid constructor; you probably meant ‘soss::Field (const soss::Field&)’
[0.482s]    Field(Field&& other);
[0.482s]                       ^
[0.482s] /home/albert/workspaces/soss/install/soss-core/include/soss/Message.hpp:40:25: error: expected ‘,’ or ‘...’ before ‘&& ...
(more)
2021-05-26 15:38:21 -0500 received badge  Notable Question (source)
2021-05-26 15:38:21 -0500 received badge  Popular Question (source)
2020-07-25 06:17:21 -0500 received badge  Famous Question (source)
2020-07-14 01:09:17 -0500 answered a question Any documents or open-discussions for traffic-editor?

Just in case if you are still interested, below is the updated documentation by osrf regarding traffic editor. Hope this

2020-06-17 22:58:33 -0500 asked a question Error loading library in executing soss command

Error loading library in executing soss command I followed steps in https://github.com/osrf/soss to run the demo for und

2020-06-17 22:40:59 -0500 answered a question colcon build failed for soss-ros1 in soss

After changing from gcc/g++-5 to gcc/g++-7, I can build soss-ros1-test, i.e. sudo update-alternatives --config gcc sudo

2020-06-17 22:40:59 -0500 received badge  Rapid Responder (source)
2020-06-16 14:28:11 -0500 received badge  Notable Question (source)
2020-06-16 02:50:56 -0500 asked a question colcon build failed for soss-ros1 in soss

colcon build failed for soss-ros1 in soss I followed steps in https://github.com/osrf/soss to run the demo for understan

2020-06-15 21:11:05 -0500 commented answer ROS2 Eloquent installation failed in Ubuntu 18.04.4 LTS

Thanks rwu for the answer. I have actually resolved my issue but I think your way is more proper. It can serve as my re

2020-06-15 21:10:36 -0500 answered a question ROS2 Eloquent installation failed in Ubuntu 18.04.4 LTS

Thanks rwu for the answer. I have actually resolved my issue but I think your way is more proper. It can serve as my re

2020-06-15 10:02:39 -0500 received badge  Popular Question (source)
2020-06-10 07:38:38 -0500 answered a question ROS2 Eloquent installation failed in Ubuntu 18.04.4 LTS

After running sudo dpkg --remove-architecture i386, the message N: Skipping acquire of configured file 'main/binary-i386

2020-06-10 07:38:38 -0500 received badge  Rapid Responder
2020-06-10 02:47:33 -0500 asked a question ROS2 Eloquent installation failed in Ubuntu 18.04.4 LTS

ROS2 Eloquent installation failed in Ubuntu 18.04.4 LTS Referring to link:https://index.ros.org/doc/ros2/Installation/El