1

I am new on Linux distribution and I have a problem I did not manage to fix. I tried to update my Debian computer with apt-get update. But at the end, I obtained the following error:

.W: Erreur de GPG : http://repo.mongodb.org jessie/mongodb-org/3.4 Release : Les signatures suivantes ne sont pas valables : KEYEXPIRED 1515625755

I don't know how to fix it. The computer date is correct.

Kara
  • 105
balou
  • 11

2 Answers2

2

This works for me with mongo 3.4

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && sudo apt-get update

make
  • 21
1

To fix this, you need to "install" the key again

sudo apt-key adv --keyserver <mongodb repo keyserver> --recv-keys <last 8 digits of key>

Some googling resulted in this

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927

taken from here