Gazebo Conflict: Unable to Install ros-humble-turtlebot3-gazebo with Gazebo Harmonic
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 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?
Since there are no further comments, I will close this issue. Thank you!