Cómo actualizar MongoDB en Ubuntu 18.04
sudo apt updatesudo apt install mongodb-org
Repulsive Rabbit
sudo apt updatesudo apt install mongodb-org
sudo add-apt-repository 'deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4