diff --git a/source/Installation/_Apt-Repositories.rst b/source/Installation/_Apt-Repositories.rst index 8b9e0af9c07..09a7115d717 100644 --- a/source/Installation/_Apt-Repositories.rst +++ b/source/Installation/_Apt-Repositories.rst @@ -17,4 +17,4 @@ Updates to repository configuration will occur automatically when new versions o $ sudo apt update && sudo apt install curl -y $ export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}') $ curl -L -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb" # If using Ubuntu derivates use $UBUNTU_CODENAME - $ sudo apt install /tmp/ros2-apt-source.deb + $ sudo dpkg -i /tmp/ros2-apt-source.deb