I am trying to install mongodb on debian from 10gen repo. I have followed the official guide HERE however i am stuck when trying to add the repo in apt.
The problem is that the signature is invalid. I add the gpg key using the command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
and then adding the repo in my sources.d file:
echo 'deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
However, when run apt-get update , i get the error that the signature is invalid.
W: GPG error: http://downloads-distro.mongodb.org/repo/debian-sysvinit dist Release: The following signatures were invalid: 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10 W: The repository 'http://downloads-distro.mongodb.org/repo/debian-sysvinit dist Release' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
Anyone else having this problem? Is indeed the signature wrong?