não é possível instalar o mongodb corretamente no ubuntu 17.04 [duplicate]

-1

Estou recebendo erros no meu terminal toda vez que tento apt-get install something ou update . Eu acho que tem algo a ver com a instalação do mongodb.

Sou novo no Linux e segui este guia exatamente sobre como instalá-lo. Eu não consegui encontrar um guia para a versão 17.04, então eu fiz o 16.10, e agora toda vez que eu tento apt-get algo eu recebo este erro:

Reading package lists... Done
W: GPG error: http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0
Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9ECBEC467F0CEB10 W: The repository 'http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Além disso, tenho um alerta na minha barra superior:

an error occured please run package manager from the right-click menu or apt-get in a terminal to see what is wrong the error message was :

Error brokenCount > 0. this usually means that your installed packages have unmet dependencies.
    
por Steve 07.06.2017 / 18:53

1 resposta

1

Execute este comando:

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

Então

sudo apt-add-repository 'deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse'

Então

sudo apt update

    
por Arun 07.06.2017 / 19:07