Unmet dependencies during Gazebo ROS pachage installation
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?