Unmet dependencies: ros-kinetic-gazebo-ros-control : Depends: ros-kinetic-gazebo-ros but it is not going to be installed

asked 2018-10-25 21:18:04 -0600

Jophiel gravatar image

updated 2018-10-25 21:18:28 -0600

I am using Ubuntu 16.04 ROS kinetic. Trying to install gazebo_ros pkgs, but gets the following error.

J@VRL:~/catkin_ws$ sudo apt-get install ros-kinetic-gazebo-ros-pkgs ros-kinetic-gazebo-ros-control

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-kinetic-gazebo-ros-control : Depends: ros-kinetic-gazebo-ros but it is not going to be installed
 ros-kinetic-gazebo-ros-pkgs : Depends: ros-kinetic-gazebo-dev but it is not going to be installed
                               Depends: ros-kinetic-gazebo-plugins but it is not going to be installed
                               Depends: ros-kinetic-gazebo-ros but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

Comments

you have to install ros-kinetic_gazebo-ros, ros-kinetic-gazebo-plugins, ros-kinetic-gazebo-dev before installing the packages you trying to install.

Choco93 gravatar imageChoco93 ( 2018-10-26 01:35:39 -0600 )edit
1

@Choco93: that is quite a statement. Dependency resolution should do this automatically for you, but for some reason that is not happening for @Jophiel. Doing this manually is at best a work-around.

@Jophiel: can you try to use aptitude instead of apt-get? It may give a better error message.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-26 04:43:05 -0600 )edit

Is this issue solved. I am facing the same problem and unable to find a solution.

Hari_prasanth gravatar imageHari_prasanth ( 2019-11-04 02:48:52 -0600 )edit