- Today
- Total
엔지니어스 - Engineeus
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 xenial InRelease: The following signatures were invalid: KEYEXPIRED 1622248854.. 본문
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 xenial InRelease: The following signatures were invalid: KEYEXPIRED 1622248854..
Engineeus 2021. 7. 7. 14:31W: 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 xenial InRelease: The following signatures were invalid: KEYEXPIRED 1622248854
W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease The following signatures were invalid: KEYEXPIRED 1622248854
W: Some index files failed to download. They have been ignored, or old ones used instead.
<해결>
Remove the old key
- on Ubuntu 16.04 and newer (with ROS Kinetic, Melodic, etc)
sudo apt-key del 421C365BD9FF1F717815A3895523BAEEB01FA116
- on Ubuntu 15.10 and older (ie: 14.04, from here)
sudo apt-key del B01FA116
Import the new key
This command should work on all versions of Ubuntu:
# add the new key
sudo -E apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Final step
At this point make sure to run
sudo apt clean
sudo apt update.
You should receive no errors and subsequent sudo apt install commands should also now work.
https://answers.ros.org/question/325039/apt-update-fails-cannot-install-pkgs-key-not-working/
'Autonomous Tech. > Error (Windows & Ubuntu)' 카테고리의 다른 글
python3 setup.py install --user Illegal instruction (core dumped) in xavier agx (0) | 2021.07.08 |
---|---|
You don't have enough free space in /var/cache/apt/archives/. (0) | 2021.07.07 |
SDK Manager - installation of VisionWorks on Host failed (0) | 2021.07.07 |
rm: cannot remove 'home/XX/: Device or resource busy (0) | 2021.07.07 |
rmdir: failed to remove 'XX': Directory not empty (0) | 2021.07.07 |