Skip to content

Missing key for Apt for installing 5.0 mongo #614

@xepa

Description

@xepa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions