apt update is showing the key for mongodb-org 4.0 in xenial is expired and the server has not published a new key. I don’t see an issue for this in JIRA.
Get:8 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release.gpg [801 B]
Err:8 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release.gpg
The following signatures were invalid: KEYEXPIRED 1681763820
Attempting to re-import a new key shows the server has not yet published a new key
user@host:/var/snap/amazon-ssm-agent/6312$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E52529D4
Executing: /tmp/tmp.kQ87jVKCKE/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
E52529D4
gpg: requesting key E52529D4 from hkp server keyserver.ubuntu.com
gpg: key E52529D4: "MongoDB 4.0 Release Signing Key <packaging@mongodb.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
The support matrix shows MongoDB 4.0 is still supported on Ubuntu 16, is there an ETA for publishing new keys?