I’m trying to install MongoDB on a new chromebook running an ARM version of Debian 10. I followed the instructions in the docs but I keep getting the unable to locate package mongodb-org error. The docs don’t have the [arch=arm64] option, so I tried adding that, but still get the same issue. I see the arm version is in the place that my list file mentions (MongoDB Repositories). Here is what my list file looks like:
deb [arch=arm64] http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main
As mentioned, I’ve tried this with and without the [arch=arm64] and get the same results. Any suggestions would be appreciated!
However, if you are trying to install MongoDB 5.0 on a Raspberry Pi there is a further caveat: MongoDB 5.0+ packages on arm64 require the ARMv8.2-A or later microarchitecture, which means the precompiled binaries (if available for your O/S) would not run on current Raspberry Pi models.