Error while installing mongoDB on a raspberry pi 4 using ubuntu 22.04

When following the MongoDB docs to install version 6.0 I receive a few errors that I cannot find the solution too.

The errors:

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.

I get these when I attempt to do: sudo apt-get install -y mongodb-org

However it is possible that the RPi 4 may not meet the minimum specs of ARMv8.2-A

In which case you’re limited to MongoDB 4.4 or try compiling from source.

Indeed the Pi doesn’t meet the minimum officially supported specs as it runs on ARMv8.0-A.

In my personal capacity I have built from source and have been running MongoDB on a Pi at home for a few months now.

You can find my custom-build binaries on Github.