I was using mongodb 4.2.9 on ubuntu 18.04
I installed it with package manager. Now I to update it to 4.4 version used package manager following --> https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ instructions.
Installation was ok but when I write mongod -version
command it shows - db version v4.2.9
.
I tried to re-install again it says
mongodb-org is already the newest version (4.4.1).
but mongod -version
command it shows - db version v4.2.9
.
How can I get rid of this problem?