1

I have tried to install the one from apt, but that was really old

So I tried to go to mongo website and download the newest version

but then I get this isse:

The following packages have unmet dependencies:
 mongodb-org-server:arm64 : Depends: libc6:arm64 (>= 2.18) but it is not installable
                            Depends: libcurl3:arm64 (>= 7.16.2) but it is not installable
                            Depends: libgcc1:arm64 (>= 1:4.2) but it is not installable
                            Depends: libssl1.0.0:arm64 (>= 1.0.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

why is this not installable? any suggestion?

3
  • Latest MongoDB is 64-bit only. Plain RaspiOS is 32-bit. The 64-bit Raspbian is still in beta testing. You will need to switch to a supported 64-bit operating system.
    – Dougie
    Commented Jun 26, 2020 at 15:20
  • arm64? Is that the correct architecture for Raspberry Pi OS?
    – joan
    Commented Jun 26, 2020 at 15:24
  • Once you have a 64-bit OS installed, you can use these pre-built MongoDB binaries: github.com/themattman/mongodb-raspberrypi-binaries Commented Mar 17, 2023 at 15:14

1 Answer 1

3

You are using Raspbian. This is only built with a 32 bit architecture armhf. I seems you have downloaded MongoDB with the 64 bit architecture arm64. You cannot run 64 bit programs on a 32 bit architecture. You either have to use a 32 bit MongoDB or use a 64 bit operating system. There is a 64 bit Raspberry Pi OS in beta test. You can try to use that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.