MongoDB GPG - Invalid Signatures

后端 未结 11 1338
半阙折子戏
半阙折子戏 2020-12-04 06:46

I\'m installing MongoDB on an Ubuntu 14.04 machine, using the instructions at: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/

So I run:

11条回答
  •  生来不讨喜
    2020-12-04 07:31

    You don't need to reinstall the mongo packages, but just change the key as following:

    List the keys to confirm it is expired:

    apt-key list | grep "expired:"
    

    Replace the key:

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xd68fa50fea312927
    

    The number 0xd68fa50fea312927 is the current valid key id (expires at 2019-10-09), as you can check here.

提交回复
热议问题