I'm trying to install MongoDB on Ubuntu 22.04 using this command:
sudo apt-get install -y mongodb-org
But I'm getting this error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
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.
Any idea on how to fix this? Thanks!!
-y
is not recommended unless you fully understand the potential consequences. – user535733 Oct 29 '22 at 15:47