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

Unmet dependencies on Ubuntu 19.10 eloquent

asked 2020-04-24 11:49:32 -0500

Andy Blight gravatar image

updated 2021-09-20 09:20:22 -0500

I have spent a very frustrating afternoon trying to install ROS2 eloquent on a clean Ubuntu 19.10 VM without success. The VM was fully updated before the install. I chose the minimal installation as I only want to use ROS2 in the VM.

I started by following the installation instructions: https://index.ros.org/doc/ros2/Installation/Eloquent/Linux-Install-Debians/. I installed the keys and the ros2-latest.listfile, did the sudo apt update and then tried:

$ sudo apt install ros-eloquent-desktop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-eloquent-desktop

This format of command used to work on ROS but failed this time. Reading other questions, the following information was requested, so here it is.

$ uname -a
Linux andy-VirtualBox 5.3.0-46-generic #38-Ubuntu SMP Fri Mar 27 17:37:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/apt/sources.list.d/ros2-latest.list
deb [arch=amd64] http://packages.ros.org/ros2/ubuntu eoan main

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
DISTRIB_CODENAME=eoan
DISTRIB_DESCRIPTION="Ubuntu 19.10"

After a bit of searching around, I read that each ROS2 release is paired with an Ubuntu release, so I tried the following command.

$ sudo apt install ros-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 ros-desktop-full : Depends: ros-desktop but it is not going to be installed
                    Depends: ros-perception but it is not going to be installed
                    Depends: ros-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Finally, something that apt can install, but still no cigar! I then spent about an hour trying to manually fill in the missing dependencies. I ended up with this command:

$ sudo apt install -y \
>   ros-desktop \
>     ros-robot \
>       tf-tools \
>         python-tf\
>       tf2-tools \
>         python-tf2 \
>           python-rospy \
>         python-tf2-ros \
>           python-actionlib \
>           libtf2-ros-dev \
>   ros-viz \
>     ros-base \
>       ros-core \
>         python3-rosbag \
>           python-roslib \
>             catkin \
>               python3-catkin \
>                 python3-catkin-pkg \
>                   python3-catkin-pkg-modules \
>             python-rospkg \
>               python-rospkg-modules \
>                 python-catkin-pkg-modules \
>         python3-rosclean \
>         python-rosgraph \
>         python-rosmaster \
>         python-rosparam \
>         python-roslaunch \
>         python-rosmsg \
>         python-rosnode \
>         python-rosservice \
>         python-rostopic \
>         python-message-filters \
>         python-roswtf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 catkin : Depends: python-catkin-pkg but it is not going to be installed
 python-catkin-pkg-modules : Conflicts: catkin but 0.7.18-1 is to be installed
 python3-catkin-pkg ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2020-04-24 15:30:42 -0500

tfoote gravatar image

Ubuntu 19.10 is not a supported platform for Eloquent Supported platforms are listed in REP 2000 That's why there are no packages available. The first line of the tutorial you linked to is, "Debian packages for ROS 2 Eloquent Elusor are available for Ubuntu Bionic."

When you tried to switch to a non-distro based version you were starting to try to install UpstreamPackages directly from the Ubuntu source repositories. Please see the discussion on that wiki page about mixing the sources which is giving you your conflicts.

edit flag offensive delete link more

Comments

I've answered my share of these kinds of questions.

Clearly something is not clear enough when it comes to supported platforms/OS and the versions of ROS that can be installed on them.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-25 05:02:10 -0500 )edit

Thanks for your answers. I don't know how I missed something that is now so obvious. I guess I thought it would probably work anyway but clearly it doesn't.

Perhaps the line "Debian packages for ROS 2 Eloquent Elusor are available for Ubuntu Bionic." could be made bold to make it more obvious?

Andy Blight gravatar image Andy Blight  ( 2020-04-25 06:54:15 -0500 )edit
1

answered 2020-04-24 15:26:13 -0500

sloretz gravatar image

There are no Debian packages for ROS Eloquent on Ubuntu 19.10. The only way to use it on that platform is to build from source. There are instructions here: https://index.ros.org/doc/ros2/Instal...

The platforms a particular ROS distro supports are listed in REP 2000: https://www.ros.org/reps/rep-2000.htm... . The table shows which platforms get binary releases and Debian packages.

Separately, ros-desktop-fullis packaged by upstream Debian. It's not part of any named ROS distribution; I don't know if it's ROS 1 or ROS 2. There's more info about it here: http://wiki.ros.org/UpstreamPackages

edit flag offensive delete link more

Comments

Many thanks for the tips about how to build from source. I will try that out on Monday and see how I get on.

REP2000 is a useful page. I have book marked it for future reference.

Andy Blight gravatar image Andy Blight  ( 2020-04-25 06:56:39 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2020-04-24 11:49:32 -0500

Seen: 1,071 times

Last updated: Sep 20 '21