На этот вопрос уже есть ответ:
Я хочу уточнить, что это не дублированная проблема.
Я пытался установить mongodb на мой odroid XU4 (например, малиновый), работающий на Ubuntu 17.04, с помощью команды «sudo apt-get install -y mongodb»
Вот результат:
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
Вот результат 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
Вот результат uname -m
armv7l
] Вот результат dpkg --print-architecture
armhf
Вот результат 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
Я уже сделал следующее:
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
I также попробовал инструкцию в следующем сообщении: Установите MongoDB на Ubuntu 17.04 со следующим результатом:
> 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
Я также пробовал:
> 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
И многое другое, найденное в Интернете, но у меня заканчиваются идеи .. Есть ли у кого-то намек?
Спасибо!
Работает только для версий Ubuntu до 17.04
sudo apt-key adv --keyserver hkp: //keyserver.ubuntu.com: 80 \ --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb [arch = amd64, arm64, ppc64el, s390x] \ 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
Для Ubuntu 17.04
Попробуйте загрузить следующее https://fastdl.mongodb.org/linux/mongodb-linux-arm64-ubuntu1604-3.6.1 .tgz вам придется установить это вручную.