MongoDb从2.6升级到3.0期

时间:2015-03-18 09:17:21

标签: linux mongodb ubuntu ubuntu-12.04

由于某些原因,我无法安装MongoDb 3.0版本。我错过了什么?

enter image description here enter image description here

2 个答案:

答案 0 :(得分:0)

您正在使用未使用最新版本mongodb更新的repos。添加their repo,然后更新apt-get,然后尝试安装3.0.1。

答案 1 :(得分:0)

使用

完全替换/etc/apt/sources.list中的内容
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-security main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse 

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu utopic partner
deb-src http://archive.canonical.com/ubuntu utopic partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main

来自:https://askubuntu.com/questions/572235/404-failed-to-fetch-package