ERROR: Failed to update apt cache: clave GPG expirada (MongoDB)
FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default.,
W:See apt-secure(8) manpage for repository creation and user configuration details.,
W:GPG error: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease:
The following signatures were invalid: EXPKEYSIG 656408E390CFB1F5 MongoDB 4.4 Release Signing Key <packaging@mongodb.com>,
E:The repository 'https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' is no longer signed."}Solución:
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -sudo apt-get updatePreviousERROR: Failed to update apt cache: unknown reasonNextERROR: Key is stored in legacy trusted.gpg keyring
Last updated