Skip to content

install package by rosdep key name fails #991

@christianrauch

Description

@christianrauch

The documentation on how to check and install rosdep packages (https://github.com/ros-infrastructure/rosdep/blob/master/doc/overview.rst#installating-rosdeps) seems to be out of date or at least not complete.

At least, I cannot reproduce the commands there.

Example, installing std_msgs for rolling:

docker run -it --rm ubuntu:24.04 bash -c "
export DEBIAN_FRONTEND=noninteractive PIP_BREAK_SYSTEM_PACKAGES=1 && \
apt update && apt -y install python3-pip && \
pip3 install rosdep && \
rosdep init && rosdep update && \
rosdep install -s std_msgs --rosdistro=rolling
"

This should produce a similar #[apt] Installation commands: output as per documentation, but fails with:

ERROR: Rosdep cannot find all required resources to answer your query
Missing resource std_msgs

The key works with rosdep resolve std_msgs --rosdistro=rolling though.

Can you update the documentation to reflect any recent changes on the user-facing behaviour of rosdep? In particular, how to install packages by their rosdep key name.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions