< BACK TO BLOG

mongodb 6 installation error fix

Published Fri Jan 27 2023



The following packages have unmet dependencies:

 mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it is not installable

 mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but it is not installable

E: Unable to correct problems, you have held broken packages.



echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list


sudo apt-get update

sudo apt-get install libssl1.1


ref: https://askubuntu.com/questions/1403619/mongodb-install-fails-on-ubuntu-22-04-depends-on-libssl1-1-but-it-is-not-insta




Subscribe to my Newsletter

Get the latest posts delivered right to your inbox