Hello @Sasha_Sirotkin,
Welcome to the MongoDB Community forums
-
Can you confirm that you have followed the tutorial steps and have all the prerequisites, such as “Ubuntu Server 20.04 (64-bit) for Raspberry Pi 3/4”, not the 32-bit version as mentioned in the tutorial?
-
Can you also please confirm if it was working previously? If so, what has changed?
I believe you are executing the following command to install the mongodb-org
package:
sudo apt-get install -y mongodb-org
And, if you encounter the Unable to locate package mongodb-org
error, then it might be possible that the latest version of MongoDB** downloaded by this command is not supported by the Ubuntu OS version you are using. Could you please provide your Ubuntu version, or refer to the Platform Support Notes for recommended MongoDB version for your operating system?
**Note, the MongoDB documentation states that:
“The official
mongodb-org
package always contains the latest version of MongoDB and is available from its dedicated repository.”
Sharing some similar threads below which might be useful for you:
- I can't install mongodb: E: Unable to locate package mongodb-org
- ubuntu - E: Unable to locate package mongodb-org - Stack Overflow
I hope it helps!
Regards,
Kushagra