Skip to content

Commit f4b9ed2

Browse files
authored
Tell users to 'apt update' before installing ros-dev-tools. (ros2#3491)
If the users follow the instructions as-is right now, they will fail to apt update before trying to install ros-dev-tools, which will lead to failure. Update the instructions here for that. Signed-off-by: Chris Lalancette <[email protected]>
1 parent 87835ae commit f4b9ed2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/Installation/Alternatives/Ubuntu-Install-Binary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If you are going to build ROS packages or otherwise do development, you can also
5555

5656
.. code-block:: bash
5757
58-
sudo apt install ros-dev-tools
58+
sudo apt update && sudo apt install ros-dev-tools
5959
6060
Install ROS 2
6161
-------------

source/Installation/Ubuntu-Install-Debians.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If you are going to build ROS packages or otherwise do development, you can also
4545

4646
.. code-block:: bash
4747
48-
sudo apt install ros-dev-tools
48+
sudo apt update && sudo apt install ros-dev-tools
4949
5050
Install ROS 2
5151
-------------

0 commit comments

Comments
 (0)