Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signatures couldn't be verified because the public key is not available: NO_PUBKEY #6445

Open
anjumfarzana opened this issue May 4, 2023 · 1 comment

Comments

@anjumfarzana
Copy link

When i run the commands for Ubuntu 20.04 Build: https://carla.readthedocs.io/en/0.9.14/build_linux/#unreal-engine.

sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal main"

I got below error:
Err:14 https://apt.llvm.org/focal llvm-toolchain-focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxxxxxxxxxx
Reading package lists... Done
W: GPG error: https://apt.llvm.org/focal llvm-toolchain-focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 15CF4D18AF4F7421
E: The repository 'http://apt.llvm.org/focal llvm-toolchain-focal 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

I am using Ubuntu 20.04 version

Please help to solve this issue?

Thank You!

@jimmysoda
Copy link

@anjumfarzana I just came across this problem. This preceding step appears to be missing from the documentation:

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -

See https://askubuntu.com/a/906366.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants