Updating your ROS GPG KeyΒΆ
There was a recent incident in which the ROS GPG key expired, making it impossible for users to pull updates from ROS packages in Ubuntu.
If you are having issues getting ROS packages:
In ROS1, run the following command:
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
In ROS2, run the following command:
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg