apt-get でsignature のエラー

sudo apt-get update したときに,

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>

のエラーが出たら,認証情報が古いので更新すれば対応可能です.
メッセージに含まれている文字列をコピペして,

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654

でOK.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

*