Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Error getting access to LLVM Debian/Ubuntu nightly packages

Writer Andrew Henderson

Trying to access LLVM Debian/Ubuntu nightly packages

I am on 14.04 and they give this info:

The goal is to provide Debian and Ubuntu nightly packages ready to be installed with minimal impact on the distribution. Packages are available for amd64 and i386 and for both the stable, qualification and development branches (currently 3.9, 4.0 and 5.0).

The packages provide LLVM + Clang + compiler-rt + polly + LLDB + LLD + libFuzzer

Trusty (14.04) - Last update : Wed, 22 Mar 2017 08:38:03 UTC / Revision: 298477
deb llvm-toolchain-trusty main
deb-src llvm-toolchain-trusty main
# 3.9
deb llvm-toolchain-trusty-3.9 main
deb-src llvm-toolchain-trusty-3.9 main
# 4.0
deb llvm-toolchain-trusty-4.0 main
deb-src llvm-toolchain-trusty-4.0 main

I have tried going in Ubuntu Software Centre and adding the deb line for both 3.9 and 4.0. But after sudo apt-get update I get an error:

W: GPG error: llvm-toolchain-trusty-3.9 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 15CF4D18AF4F7421

There is some way to install this without Ubuntu Software Centre, but I don't know how to find the ppa:user/ppa-name as talked about here

2 Answers

Each one of these repositories has it's own key which you should add before updating your lists. See

E.g: if you add this one to your sources:

deb llvm-toolchain-trusty main

Then you should also add the related key to this component, which is:

wget -O - apt-key add -

So, if you add all lines for trusty, then you should add all three related keys to them, It will make your error goes away.


For stable brunch (V3), source:

 deb llvm-toolchain-trusty-3.9 main wget -O - apt-key add -

For qualification branch (V4), source:

deb llvm-toolchain-trusty-4.0 main
wget -O - apt-key add -
3

I was getting the same error. I fixed it by installing launchpad-getkeys:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install launchpad-getkeys

Once it's installed, run:

sudo launchpad-getkeys
sudo apt-get update

Your key errors should be gone.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy