I am not able to install mangodb in raspberrypi4B getting below error
$ sudo apt-get install -y mongodb-org
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.0) but it is not installable
mongodb-org-server : Depends: libssl1.1 (>= 1.1.0) but it is not installable
mongodb-org-shell : Depends: libssl1.1 (>= 1.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
my OS version is
:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Please follow below tutorial on Install & Configure MongoDB on the Raspberry Pi
This will give you step by step instructions and in case you face any issues, I would request you to check a few following threads as installation and relevant errors about Raspberry PI are often discussed in various threads such as:
Note: MongoDB 5.0 requires ARM v8.2-A or later and the Raspberry Pi 4 uses an ARM Cortex-A72 which is ARM v8-A. Unfortunately this means the pre-built packages for MongoDB 5.0 will not support Raspberry Pi 4. However, you should be able to build from source by adding CCFLAGS-march=armv8 to the SCons invocation. See Building MongoDB for full instructions. If building from source is a daunting prospect, an alternative would be to install the latest ARM 64 package of MongoDB 4.4.