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

Installing ROS2 as Debian package leads to broken install

asked 2020-07-12 02:38:43 -0500

eloquent-fox gravatar image

Hello all,

I'm using Ubuntu 18.04.3 LTS (Bionic) and I tried to install ROS2 Eloquent using the command

sudo apt install ros-eloquent-ros-base

When I look into my ros folder, this is what I see

me@sirius:/opt/ros/eloquent$ ls
bin  cmake  include  lib  share  src

Apparently, the setup scripts are missing. For testing purpose I also installed ROS dashing and here I get

me@sirius:/opt/ros/dashing$ ls
bin    include  local_setup.bash  local_setup.zsh     setup.bash  setup.zsh
cmake  lib      local_setup.sh    _order_packages.py  setup.sh    share

Did I do something wrong or is the install broken?

edit retag flag offensive close merge delete

Comments

1

Try re-installing? The expected setup.* files are there for me. I don't know what would cause them to be missing.

sudo apt remove ros-eloquent-ros-base

sudo apt install ros-eloquent-ros-base

jacobperron gravatar image jacobperron  ( 2020-07-14 11:08:29 -0500 )edit

Thank you, indeed it seemed something went wrong during installation, after running

sudo apt remove ros-eloquent-* && sudo apt autoremove

and install again, the setup scripts are here!

eloquent-fox gravatar image eloquent-fox  ( 2020-07-29 04:39:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-14 13:02:02 -0500

tfoote gravatar image

The setup files are installed by the package ros-eloquent-ros-workspace which is a dependency of ros-eloquent-ros-base If you don't have those files I suspect that you didn't successfully install what you thought that you installed. Please edit your question to show the full output of your apt commands so we can help you more.

Also useful would be to show the output of dpkg -l ros-eloquent-*

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-07-12 02:38:43 -0500

Seen: 315 times

Last updated: Jul 14 '20