May 13, 2012
tom

Mongodb ubdate on Ubuntu 10.04 LTS

Question

I installed MongoDB on live VPS to write logs. The server is running on Ubuntu 10.04 LTS and Mongodb version is 2.0.3. I want to upgrade to latest version (2.0.5) but I want to upgrade only MongoDB. I made test on my desktop with apt-get upgrade and everything is OK after the upgrade. However on my VPS I prefer to update just MongoDB. Any help is appreciated.

Answer

I’m assuming that MongoDB is available in a configured apt repository. You can upgrade only certain packages by listing them in an install command, like this:

apt-get install mongodb

(You should however be keeping your server up to date with packages in the lucid-security repository though.)

Answered by mgorven

No related posts.

Leave a comment