GPG KEY ERROR
lonebots opened this issue · 4 comments
Have you checked our docs before proceeding?
Issue Description
I had this issue recently out of blue when I tried to a sudo apt-get update
on my machine running Ubuntu 22.04
.
Steps to Reproduce
- Run the following command
sudo apt update
Actual Behaviour
I got the following key error
sudo apt update
Get:1 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease [1,484 B]
Hit:2 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64 InRelease
Hit:3 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 InRelease
Hit:4 http://packages.osrfoundation.org/gazebo/ubuntu-stable jammy InRelease
Hit:5 http://packages.ros.org/ros2/ubuntu jammy InRelease
Ign:6 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Ign:7 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 InRelease
Ign:8 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 InRelease
Hit:9 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
Hit:10 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:11 https://updates.signal.org/desktop/apt xenial InRelease
Hit:12 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release
Hit:13 https://dl.yarnpkg.com/debian stable InRelease
Hit:15 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:16 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 Release
Get:18 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Hit:19 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 Release
Hit:21 https://ppa.launchpadcontent.net/ubuntu-mozilla-security/ppa/ubuntu jammy InRelease
Hit:22 https://download.docker.com/linux/ubuntu jammy InRelease
Get:23 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:24 https://artifacts.aws.cloud.mov.ai/repository/ppa-public main InRelease [1,377 B]
Err:24 https://artifacts.aws.cloud.mov.ai/repository/ppa-public main InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 29B54E9CF3963C7C
Hit:25 https://dl.google.com/linux/chrome/deb stable InRelease
Reading package lists... Done
W: GPG error: https://artifacts.aws.cloud.mov.ai/repository/ppa-public main InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 29B54E9CF3963C7C
E: The repository 'https://artifacts.aws.cloud.mov.ai/repository/ppa-public main InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Expected Behaviour
- Should complete the check and show the updates avalilable
Thanks for opening this Issue!
We need you to:
-
Fill out the description.
Action: Edit description and replace
<!- ... -->
with actual values.
Hi, thanks for the report. Can you try the below command to update the GPG key?
curl -fsSL https://artifacts.aws.cloud.mov.ai/repository/movai-applications/gpg | sudo gpg --dearmor -o /usr/share/keyrings/movai-archive-keyring.gpg
Hi @MithunKinarullathil,
Thanks for the fix. It really helped me solve the issue, Can I know what exactly the command does other than updating the key and also I am curious how the issue might have occurred or got the Key corrupted ??
That's basically it, it updates the keys. I believe we had a similar issue in that the key got outdated.