Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rosdep install error #330

Open
Hal-Zhaodong-Yang opened this issue Jul 19, 2024 · 1 comment
Open

rosdep install error #330

Hal-Zhaodong-Yang opened this issue Jul 19, 2024 · 1 comment

Comments

@Hal-Zhaodong-Yang
Copy link

Description

Hello, when I am trying to install the packages running rosdep install --from-paths src --ignore-src -y --rosdistro noetic, it gives me unmet dependency error. And if I run rosdep install --from-paths src --ignore-src -y, ROS DISTRO not set error is raised.

Version

ROS distribution : noetic
system: ubuntu 20.04

Branch and commit you are using : noetic-devel

Steps to reproduce

Here is the error message:
$ rosdep install --from-paths src --ignore-src -y --rosdistro noetic
executing command [sudo -H apt-get install -y ros-noetic-gazebo-ros]
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-noetic-gazebo-ros : Depends: ros-noetic-gazebo-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y ros-noetic-gazebo-ros] failed

And if I try to install ros-noetic-gazebo-dev, it complains about libgazebo11-dev not installed, which has more unmet dependencies.

@aalmrad
Copy link
Contributor

aalmrad commented Sep 11, 2024

Hello,

Thank you for reaching out. First, I would like to point out that you should be able to run the following command without any problem rosdep install --from-paths src --ignore-src -y so please make sure that your ROS Noetic installation is properly sourced.
Second, it seems to me that Gazebo 11 is not installed on your system so please consult the following link and make sure to read the instructions carefully before proceeding with the installation. Pleas let me know how things unfold.

Best,
Abed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants