Robotics StackExchange | Archived questions

Could not resolve keys while installing ROS2 from source

I am trying to install ROS2 in a docker container. lsb_release -a gives me the following output:

Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy

I am following the installation guide given here. I am getting the unable to resolve resdep key for ros2doctor while running this command:

rosdep install --from-paths src --ignore-src -y --skip-keys "fastcdr rti-connext-dds-5.3.1 urdfdom_headers"

Here is the full output:

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: ros2doctor: No definition of [python3-ifcfg] for OS version [jammy]

There was a similar issue raised here but there is still not a fix to this error.

I tried running appending the argument: --os=ubuntu:jammy to the previous command but I see no changes in the ERROR output. How do I fix this error? Or is it okay to skip this error for now?

Asked by tsadarsh on 2022-06-09 03:42:36 UTC

Comments

Answers

Foxy cannot be installed on Ubuntu Jammy.

You'll have to switch to ROS 2 Humble.

I am trying to install ROS2 in a docker container

are you sure you need to perform a from-source build? Ubuntu Jammy gets binary packages (ie: .debs). Those are much easier to install.

Asked by gvdhoorn on 2022-06-09 04:38:18 UTC

Comments