title: Upgrading mongodb has no effect and still shows the old version
body: <p>Following are the commands which I used to upgrade my mongodb version from 2.6.9 to latest, but its still showing me the previous version. Let me know what I am doing wrong with the upgrading process. The problem is that <code>mongod -version</code> still shows the old version installed after upgrade.</p>
  
  <p>Docs which I refer to - <a href="http://docs.mongodb.org/master/tutorial/install-mongodb-on-ubuntu/" rel="noreferrer">Mongodb Docs</a> </p>
  
  <p>Steps I followed -</p>
  
  <ul>
  <li>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10</li>
  <li>echo "deb <a href="http://repo.mongodb.org/apt/ubuntu" rel="noreferrer">http://repo.mongodb.org/apt/ubuntu</a> "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list</li>
  <li>sudo apt-get update</li>
  <li>sudo apt-get install -y mongodb-org </li>
  </ul>
  
  <p>Result -</p>
  
  <pre><code>Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be upgraded:
    mongodb-org
  1 upgraded, 0 newly installed, 0 to remove and 139 not upgraded.
  Need to get 3,608 B of archives.
  After this operation, 0 B of additional disk space will be used.
  Get:1 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.0/multiverse mongodb-org amd64 3.0.2 [3,608 B]
  Fetched 3,608 B in 0s (18.3 kB/s)      
  (Reading database ... 298790 files and directories currently installed.)
  Preparing to unpack .../mongodb-org_3.0.2_amd64.deb ...
  arg: upgrade
  Unpacking mongodb-org (3.0.2) over (2.6.9) ...
  Setting up mongodb-org (3.0.2) ...
  </code></pre>
  
  <p>After this I re started the service - <code>sudo service mongod restart</code></p>
  
  <p>But still its showing me version <code>2.6.9</code> Let me know what I am doing wrong here..or missed any step ?</p>