我遵循操作说明由 mongodb 提供。
但似乎包 mongodb-10gen 不存在。
vagrant@m1:~$ sudo apt-get install -y mongodb-10gen
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb-10gen 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-10gen' has no installation candidate
如何安装官方提供的mongodb?
答案1
你错过了全部或部分“配置包管理”按照他们的说明进行操作。您需要按照这些步骤将官方 Mongo apt 存储库添加到您的系统,然后更新您的本地软件包列表。完成此操作后,您应该能够安装。