turtlebot3_simulations icon indicating copy to clipboard operation
turtlebot3_simulations copied to clipboard

Gazebo Conflict: Unable to Install ros-humble-turtlebot3-gazebo with Gazebo Harmonic

Open BasharAmeen opened this issue 7 months ago • 1 comments

System Info:

  • OS: Ubuntu 22.04
  • Gazebo version: gazebo-harmonic
  • ROS 2: Humble

Issue: I'm trying to install ros-humble-turtlebot3-gazebo, but it has a dependency on Gazebo Classic (specifically Gazebo 11), which conflicts with the newer Gazebo Harmonic already installed on my system.

When I run:

sudo apt install ros-humble-turtlebot3-gazebo

I get the following conflict:

gz-tools2 : Conflicts: gazebo (>= 11.0.0) but 11.10.2+dfsg-1 is to be installed
             Conflicts: gazebo (<= 11.14.0) but 11.10.2+dfsg-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Summary: I can't install ros-humble-turtlebot3-gazebo due to conflicts between Gazebo Classic and the newer Gazebo Harmonic/Garden. Is there a workaround for using TurtleBot3 simulation with ROS 2 Humble and Gazebo Harmonic?

Thanks in advance for your help!

BasharAmeen avatar Jun 11 '25 12:06 BasharAmeen

@BasharAmeen Hello The turtlebot3-gazebo package for the Humble version is designed to work with Gazebo Classic. Currently, only Gazebo Classic is officially supported in TB3 simulation. (In jazzy, sim harmonic is supported)

Due to naming conflicts between shared libraries, Gazebo Classic and Gazebo Sim (formerly Ignition) cannot be installed or used simultaneously on the same system.

Are you trying to use Gazebo Classic on Humble, but unable to uninstall the Harmonic version from your PC? Or are you attempting to use the TurtleBot world in Humble while running it with the Harmonic (Gazebo Sim) version?

GyuH13 avatar Jun 12 '25 09:06 GyuH13

Since there are no further comments, I will close this issue. Thank you!

GyuH13 avatar Jul 08 '25 23:07 GyuH13