I have been having trouble installing MongoDB on Ubuntu 20.04 (x86_64). When I run “sudo nano /var/lib/dpkg/status” , the MongoDB database tools package states:
Is there any way I can correct this error and also how do i correctly install and utilize MongoDB on my OS after I have fixed the problem. All articles online lead me to the same errors that forced me to uninstall MongoDB several times after multiple installations. Thanks.
Hello everyone,
I’m facing some similar issues while installing MongoDB in Ubuntu 20.04, the path I’m following to install it is according to the official docs.
sudo apt-get install -y mongodb-org
After running the above command I’m facing the following errors:
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
mongodb-org-shell : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
I found an probable solution for this, but don’t know if it is Safe or not. askubuntu