This question is superficially similar to Installing Ignition Fortress on Noble Numbat (Ubuntu 24.04), except that I am running Jammy (Ubuntu 22.04), not Noble. I followed the official docs for installing Fortress, but when I run sudo apt install ignition-fortress
, I get a Package ignition-fortress is not available, but is referred to by another package
error. Running sudo apt install gz-fortress
gives me another, similar error, gz-fortress : Depends: ignition-fortress but it is not installable
. Are the docs out-of-date?
For a smooth experience, it’s advisable to install the recommended combination of Jammy (Ubuntu 22.04), Humble (ROS2 Humble Hawksbill), and Fortress (Gazebo Fortress). This is the current recommendation as of writing the ‘Installing Gazebo with ROS’ page on the Gazebo Wiki.
Choosing the “correct” versions of ROS and Gazebo will save you a lot of unnecessary headaches. Making a correct choice is crucial unless you follow specific instructions or tutorials requiring a different setup. Picking the recommended versions ensures compatibility and stability, allowing you to focus on your project rather than troubleshooting version conflicts.
Yes, I am trying to install the recommended combo. It does not work for me, however, for the above reason.
The instructions for installing Fortress are up-to-date. I was able to run sudo apt install ignition-fortress
without any issues. Can you verify you’ve added the packages.osrfoundation.org repo to your apt sources? One thing to try would be to run apt-cache policy ignition-fortress
. You should get something similar to the following:
ignition-fortress:
Installed: (none)
Candidate: 1.0.3-2~jammy
Version table:
1.0.3-2~jammy 500
500 [http://packages.osrfoundation.org/gazebo/ubuntu-stable](http://packages.osrfoundation.org/gazebo/ubuntu-stable) jammy/main amd64 Packages