Skip to content

Commit

Permalink
Add recommendation to update systems before installing ROS 2.
Browse files Browse the repository at this point in the history
Installing ROS 2 packages without updating the system first can lead to
conflicts due to package version differences.

This is generally useful but of particular importance on Ubuntu Jammy: ros2/ros2#1272
  • Loading branch information
nuclearsandwich committed May 19, 2022
1 parent e61e4d2 commit 60d0bfe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/Installation/RHEL-Install-RPMs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ DNF may prompt you to verify the GPG key, which should match the location ``http
Install ROS 2 packages
----------------------

ROS 2 packages are built on frequently updated RHEL systems.
It is always recommended that you ensure your system is up to date before installing new packages.

.. code-block:: bash
sudo dnf update
Desktop Install (Recommended): ROS, RViz, demos, tutorials.

.. code-block:: bash
Expand Down
7 changes: 7 additions & 0 deletions source/Installation/Ubuntu-Install-Debians.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ Update your apt repository caches after setting up the repositories.
sudo apt update
ROS 2 packages are built on frequently updated Ubuntu systems.
It is always recommended that you ensure your system is up to date before installing new packages.

.. code-block:: bash
sudo apt upgrade
Desktop Install (Recommended): ROS, RViz, demos, tutorials.

.. code-block:: bash
Expand Down

0 comments on commit 60d0bfe

Please sign in to comment.