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

Missing key for Apt for installing 5.0 mongo #614

Closed
xepa opened this issue Jul 28, 2021 · 0 comments · Fixed by #615
Closed

Missing key for Apt for installing 5.0 mongo #614

xepa opened this issue Jul 28, 2021 · 0 comments · Fixed by #615

Comments

@xepa
Copy link

xepa commented Jul 28, 2021

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: all
  • Ruby: all
  • Distribution: Ubuntu/Debian
  • Module version: 3.1.0 (latest)

How to reproduce (e.g Puppet code you use)

class {'mongodb::globals':
  manage_package_repo => true,
  version             => '5.0',
}

What are you seeing

apt-key tries to install key 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10 but fails as this key is no longer available for download at the keyservers

What behaviour did you expect instead

Key ID F5679A222C647C87527C2F8CB00A0BD1E2C63C11 should be installed instead please see ttps://www.mongodb.org/static/pgp/server-5.0.asc

Output log

Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: W: GPG error: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B00A0BD1E2C63C11
Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: E: The repository 'https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 Release' is not signed.
xepa pushed a commit to xepa/puppet-mongodb that referenced this issue Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant