Trabalhando apenas para as versões do Ubuntu antes de 17.04
% bl0ck_qu0te%Para o Ubuntu 17.04
Experimente e faça o download do link a seguir. instale isso.
Quero precisar que isso não é um problema duplicado.
Eu tenho tentado instalar o mongodb no meu odroid XU4 (semelhante ao framboesa), rodando no Ubuntu 17.04, usando o comando "sudo apt-get install -y mongodb"
Aqui está a saída:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'mongodb' has no installation candidate
Aqui está a saída de sudo apt-get update
Hit:1 http://ports.ubuntu.com zesty InRelease
Hit:2 http://ports.ubuntu.com zesty-backports InRelease
Hit:3 http://ports.ubuntu.com zesty-proposed InRelease
Hit:4 http://ppa.launchpad.net/random-stuff/ppa/ubuntu wily InRelease
Hit:5 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu wily InRelease
Hit:6 http://ports.ubuntu.com zesty-security InRelease
Hit:7 http://ports.ubuntu.com zesty-updates InRelease
Hit:8 http://ppa.launchpad.net/ubuntu-x-swat/updates/ubuntu zesty InRelease
Hit:9 http://ports.ubuntu.com/ubuntu-ports zesty InRelease
Ign:10 http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.4 InRelease
Hit:11 http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.4 Release
Hit:12 https://dev2day.de/pms jessie InRelease
Ign:13 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 InRelease
Hit:14 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release
Reading package lists... Done
Aqui está a saída de uname -m
armv7l
Aqui está a saída de dpkg --print-architecture
armhf
Aqui está a saída de apt-cache policy mongodb mongodb-tools mongodb-org
mongodb:
Installed: (none)
Candidate: (none)
Version table:
N: Unable to locate package mongodb-tools
N: Unable to locate package mongodb-org
Eu já fiz o seguinte:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
sudo apt update
Eu também tentei instruções no seguinte post: Instale o MongoDB no Ubuntu 17.04 com o seguinte resultado:
> sudo apt install mongodb-clients
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb-clients is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
However the following packages replace it:
mongo-tools
E: Package 'mongodb-clients' has no installation candidate
Eu também tentei:
> sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
> echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.com/apt/ubuntu xenial/mongodb-enterprise/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
> sudo apt-get update
> sudo apt-get install -y mongodb-enterprise
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mongodb-enterprise
E muitas outras coisas encontradas na internet, mas estou ficando sem ideias ... Alguém tem uma dica?
Obrigado!