It looks like mongodb-org
is the meta-package depending on all other packages, but it doesn't require dependent packages to be the same version as it is itself. This works fine for installation but doesn't update dependent packages if you install mongodb-org
when you already have older individual packages installed.
To fix:
- Simple solution -
apt-get upgrade
. All of the other MongoDB packages should get updated.
- If that doesn't work, manually install all the other packages again:
apt-get install mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
.
You also have mongodb-server
in there, you should remove it if it's installed and if it's not installed you may consider purging it after ensuring you don't need any part of its configuration for your present deployment.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…