错误:软件包“mongodb”没有安装候选者

错误:软件包“mongodb”没有安装候选者

我无法在 cloud9 上为我的 BeagleBone apt-get 安装任何软件包,因为E: Package 'mongodb' has no installation candidate.由于同样的错误,我无法让任何软件包正常工作。我已经更新、升级、重新启动,但没有任何效果。

有关我的 BBG 的更多信息:

debian@beaglebone:/var/lib/cloud9$ uname -a
Linux beaglebone 4.9.82-ti-r102 #1 SMP PREEMPT Thu Feb 22 01:16:12 UTC 2018 armv7l GNU/Linux


debian@beaglebone:/var/lib/cloud9$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

另外,这是我的sources.list 文件:

GNU nano 2.7.4               File: /etc/apt/sources.list                                                                    

deb http://deb.debian.org/debian stretch main contrib non-free
#deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
#deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://deb.debian.org/debian-security stretch/updates main contrib non-free
#deb-src http://deb.debian.org/debian-security stretch/updates main contrib non-free

#deb http://deb.debian.org/debian stretch-backports main contrib non-free
##deb-src http://deb.debian.org/debian stretch-backports main contrib non-free

#Kernel source (repos.rcn-ee.com) : https://github.com/RobertCNelson/linux-stable-rcn-ee
#
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.com/debian/ stretch main
#deb-src [arch=armhf] http://repos.rcn-ee.com/debian/ stretch main
deb http://debian.mirror.ac.za/debian stretch main 
#deb-src http://debian.mirror.ac.za/debian stretch main

答案1

armhf您的 BeagleBone 使用的架构不支持 MongoDB ;看#836435了解详情。因此,它在 Debian 9 及更高版本的 Debian 存储库中不再可用。

相关内容