deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8
Err:1 http://storage.googleapis.com/bazel-apt stable InRelease
The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key) <[email protected]>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://storage.googleapis.com/bazel-apt stable InRelease: The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key) <[email protected]>
W: Failed to fetch http://storage.googleapis.com/bazel-apt/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key) <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Also fails with https
.
Does re-adding the key work for you?
https://github.com/bazelbuild/bazel/issues/5261#issuecomment-392044252
Yeah seems it is updated in there. Thanks for the clue.
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
# Followed by
sudo apt-get update
This worked for me on Ubuntu 17.10, thanks @mryellow:
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
# Followed by
sudo apt-get update
Most helpful comment
Yeah seems it is updated in there. Thanks for the clue.