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

Getting error while installing using APT repository. #849

Open
tehsunnliu opened this issue Mar 28, 2024 · 1 comment
Open

Getting error while installing using APT repository. #849

tehsunnliu opened this issue Mar 28, 2024 · 1 comment

Comments

@tehsunnliu
Copy link

Hello,
I'm trying to install GoCD on Ubuntu using the APT repository following the instructions here
However, I'm getting the following error

sudo apt-get update
deb [signed-by=/etc/apt/keyrings/gocd.gpg] https://download.gocd.org /
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Get:2 https://download.gocd.org  InRelease [2478 B]                                                                   
Err:2 https://download.gocd.org  InRelease                                                                            
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8843F288816C449
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
W: GPG error: https://download.gocd.org  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8843F288816C449
E: The repository 'https://download.gocd.org  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.

@chadlwilson
Copy link
Member

chadlwilson commented Mar 28, 2024

It looks like you forgot the steps to download and import trust for the public key?

sudo install -m 0755 -d /etc/apt/keyrings
curl https://download.gocd.org/GOCD-GPG-KEY.asc | sudo gpg --dearmor -o /etc/apt/keyrings/gocd.gpg
sudo chmod a+r /etc/apt/keyrings/gocd.gpg

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