ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It boils down to the fact that there are two debian repositories (ROS and OSRF) offering different versions of gazebo_ros_pkgs and gazebo / gazebo-current.

ROS Repository:

  • provides gazebo 1.9.x and gazebo_ros_pkgs 2.3.x for hydro as ros-hydro-gazebo-ros-pkgs.

OSRF Repository (this was created for DRCSim and for testing gazebo_ros_pkgs against newer versions of gazebo):

  • provides gazebo 1.9 and gazebo-current 2.1
  • provides gazebo_ros_pkgs 2.4.x for hydro as ros-hydro-gazebo-ros-pkgs that depends on gazebo-current 2.1.

To make sure you do not end up installing the version of ros-hydro-gazebo-ros-pkgs 2.4.x that uses gazebo-current, remove /etc/apt/sources.list.d/gazebo-latest.list or /etc/apt/sources.list.d/osrf*.list or comment out its content:

# deb http://packages.osrfoundation.org/gazebo/ubuntu [quantal/precise/...] main

Then remove gazebo-ros-pkgs and gazebo, update and reinstall:

sudo apt-get remove gazebo-current ros-hydro-gazebo-ros-pkgs
sudo apt-get update
sudo apt-get install ros-hydro-[...]

Note that we are in the process of renaming ros-hydro-gazebo-pkgs 2.4.x in OSRF repo to ros-hydro-gazebo-pkgs-current to avoid confusions.

John