Report this

What is the reason for this report?

How to upgrade MongoDB (2.4 to 2.6) on Ubuntu 14.04

Posted on May 4, 2015

Since I’ve installed MongoDB per this procedure: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx

Which did:

apt-get install mongodb-server

I’m curious about the proper upgrade procedure.

MongoDB.org says this:

apt-get install mongodb-org

Should the old be removed and the new installed or will “apt-get install mongodb-org” handle all of that?

NOTE: I’ve even tried apt-get upgrade mongo-server which tells me I’m at the latest version (2.4.9). Is it possible I need to add a new/different apt-get package repository for mongo 2.6?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.