Home | Tutorials | Wiki | Issues
Ask Your Question
0

Unmet dependencies during Gazebo ROS pachage installation

asked 2013-10-12 15:04:32 -0500

Arn-O gravatar image

updated 2013-10-13 06:56:02 -0500

Hi.

Following the tutorial:

http://gazebosim.org/wiki/Tutorials/1.9/InstallinggazeborosPackages#Installgazeborospkgs

The install command returns me an error message:

arnaud@hercules:~$ sudo apt-get install ros-hydro-gazebo-ros-pkgs ros-hydro-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-hydro-gazebo-ros-control : Depends: ros-hydro-gazebo-ros but it is not going to be installed
 ros-hydro-gazebo-ros-pkgs : Depends: ros-hydro-gazebo-plugins but it is not going to be installed
                             Depends: ros-hydro-gazebo-ros but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Everything else has been successful before that (ROS is working and Gazebo alone is there). I have re-installed Ubuntu from scratch just before.

To be notice: the Gazebo install command requested me to remove the ros-hydro-desktop-full package.

Thx for the support. I switch to the source install in the meantime.

EDIT:

The build process failed:

[100%] Built target gazebo_ros_control
/home/arnaud/Documents/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:279:3: error: ‘EffortJointSaturationInterface’ in namespace ‘joint_limits_interface’ does not name a type
/home/arnaud/Documents/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp: In member function ‘virtual void gazebo_ros_control::DefaultRobotHWSim::writeSim(ros::Time, ros::Duration)’:
/home/arnaud/Documents/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:210:5: error: ‘ej_sat_interface_’ was not declared in this scope
/home/arnaud/Documents/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp: In member function ‘void gazebo_ros_control::DefaultRobotHWSim::registerEffortJointLimits(const string&, const hardware_interface::JointHandle&, const ros::NodeHandle&, const urdf::Model*)’:
/home/arnaud/Documents/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:267:15: error: ‘EffortJointSaturationHandle’ in namespace ‘joint_limits_interface’ does not name a type
/home/arnaud/Documents/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:268:9: error: ‘ej_sat_interface_’ was not declared in this scope
/home/arnaud/Documents/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:268:42: error: ‘sat_handle’ was not declared in this scope
make[2]: *** [gazebo_ros_pkgs/gazebo_ros_control/CMakeFiles/default_robot_hw_sim.dir/src/default_robot_hw_sim.cpp.o] Error 1
make[1]: *** [gazebo_ros_pkgs/gazebo_ros_control/CMakeFiles/default_robot_hw_sim.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed

So I'm stuck for this evening. :(

EDIT2:

The following packages are removed after the gazebo install:

The following packages will be REMOVED:
  ros-hydro-desktop-full ros-hydro-gazebo-plugins ros-hydro-gazebo-ros
  ros-hydro-gazebo-ros-control ros-hydro-gazebo-ros-pkgs ros-hydro-simulators

And that's the package with involved in the missing dependencies. So how to install them?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2013-10-14 02:14:11 -0500

RafBerkvens gravatar image

This is probably due to the same issue as this question: http://answers.gazebosim.org/question/4630/problem-with-loading-gazebo-in-ros/. Best is to wait until the ROS repository is updated. Alternatives can be found in said question.

edit flag offensive delete link more

Comments

Thanks for the tip and the point to correct place for information. Let me add, for a working installation as soon as possible, I will try to install gazebo-1.9 (check the above link for details), it should fix gazebo-ROS integration.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2013-10-14 06:27:51 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-10-12 15:04:32 -0500

Seen: 2,616 times

Last updated: Oct 14 '13