Skip to content

Commit

Permalink
key conflit avoidance
Browse files Browse the repository at this point in the history
  • Loading branch information
woensug-choi committed Jul 8, 2024
1 parent 199f6e5 commit 910b053
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extras/ros-jazzy-gz-harmonic-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ sudo apt install -y \
echo
echo -e "\033[96m(3/4) ------------ Install Package Keys ---------------\033[0m"
echo -e "\033[34mInstalling Signing Keys for ROS and Gazebo...\033[0m"
# Remove keyring if exists to avoid conflicts
sudo rm -f /usr/share/keyrings/ros2-latest-archive-keyring.gpg && \
sudo rm -rf /etc/apt/sources.list.d/ros2-latest.list
# Get Keys
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key \
-o /usr/share/keyrings/ros-archive-keyring.gpg
sudo wget https://packages.osrfoundation.org/gazebo.gpg \
Expand Down

0 comments on commit 910b053

Please sign in to comment.