우분투 터미널에서 sudo apt 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>
W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/bionic/InRelease The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.</info@osrfoundation.org></info@osrfoundation.org>
어떻게 해결할 지를 찾다가 chatGPT에게 물어봤다.
그 결과는 다음과 같이 나온다. 첫번째 명령어(apt-key)로 해결이 되었다. ㅎㅎㅎ
Yes, this error message indicates that there is an issue with the signature verification for the ROS repository in Ubuntu. Here are the steps you can follow to fix this issue:
Open a terminal window in Ubuntu.
Type the following command and press Enter to download the ROS repository key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F42ED6FBAB17C654
Once the key is downloaded, update the apt repository by running the following command:
Now try to install or update the packages again using the apt command, and the error message should be resolved.
If the above steps do not work, you can try deleting the repository information and adding it again using the following commands:
Delete the repository information:
Add the repository again by opening the sources.list file:
Add the following line to the end of the file:
Save and exit the file.
Update the apt repository and install or update the packages as required:
I hope this helps! Let me know if you have any other questions.
추가로, 한글로 설명해달라고 하니, 한글로 번역까지 친절하게 해준다.
'기타' 카테고리의 다른 글
1만원 부품으로 애플펜슬2 수리기 (수리완료) (2) | 2023.07.10 |
---|---|
3단 접이식 가성비 블루투스 키보드(3개 디바이스 연결) (0) | 2023.04.03 |
알리발 128Tb SSD 구매기 (2) | 2023.01.26 |
이베이, 알리익스프레스 환불 쉽게 받는 경험 (0) | 2023.01.23 |
2. 프라이어팰리스 지멘스 보일러 온도조절기 자가 수리 교체(siemens rdd91) (2) | 2023.01.20 |