Mongodb tips and tricks

From HPCWIKI
Jump to navigation Jump to search

The following signatures were invalid: EXPKEYSIG 656408E390CFB1F5 MongoDB 4.4 Release Signing Key

#Remove the Old Key: First, remove the expired key using the following command:
sudo apt-key del 656408E390CFB1F5

#Add the New Key: Then, add the new key from the MongoDB key server:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 656408E390CFB1F5

#Update the Package List: After adding the new key, update the package list:
sudo apt-get update

References