Question
Update MongoDB from 3.6.3 to 4.4 on Ubuntu 18.04 fails
Hello,
I have an issue when try to update MongoDB from 3.6.3 to 4.4 on droplet with Ubuntu 18.04. I follow this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-20-04 but when run:
sudo apt install mongodb-org
The following error happened:
The following packages have unmet dependencies:
mongodb-org : Depends: mongodb-org-shell but it is not going to be installed
Depends: mongodb-org-server but it is not going to be installed
Depends: mongodb-org-mongos but it is not going to be installed
Then I try to install them and for all of them I receive the same error:
The following packages have unmet dependencies:
mongodb-org-mongos : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.2 is to be installed
Depends: libgcc-s1 (>= 4.2) but it is not installable
mongodb-org-server : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.2 is to be installed
Depends: libgcc-s1 (>= 4.2) but it is not installable
mongodb-org-shell : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.2 is to be installed
Depends: libgcc-s1 (>= 4.2) but it is not installable
Please, help me with this.
Thank you in advance!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×