I’m also having the same issue as Install mongodb-org 5.0 on Amazon Linux 2 aarch64 architecture. how to resolve
Welcome to the MongoDB Community @Simeon_Palla!
Please provide more details on the issue you are encountering:
- version of MongoDB server you are trying to install
- output of
/proc/cpuinfo
- host instance type (is this bare metal, virtualised, containerised, …?)
- any unexpected error message or output relate to this issue
Aside from the typo in the original post, the repo format seems to be OK. I would follow the general tutorial to Install MongoDB Community Edition on Amazon Linux and replace x86_64
with aarch64
.
Thanks,
Stennie
I’m trying to install MongoDB on the AWS Linux ec2 server, for my node.js app backend. but when I’m trying to install MongoDB I’m getting these errors
$ sudo yum install -y mongodb-org
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package mongodb-org available.
Error: Nothing to do
already tried this Install MongoDB Community Edition on Amazon Linux but not working
Hi @Simeon_Palla,
Did you create the /etc/yum.repos.d/mongodb-org-6.0.repo
file before running yum install
?
What is the output of yum repolist
?
Thanks,
Stennie
Hi @Simeon_Palla ,
Please also confirm the hardware architecture your EC2 instance is using (x86_64
, Graviton, etc).
Thanks,
Stennie
Hello @Stennie_X ! so I am having the same issue here
I have created the file as requested and still sudo yum install -y mongodb-org
returns “No package mongodb-org available”
I have tried to install it on similar machine and it worked just fine
hardware architecture: aarch64
I’m having the same issue with amazon linux:
Checking the repolist it seems that MongoDB 6 has much less entries:
amzn-updates/latest amzn-updates-Base 7,548
mongodb-org-3.4 MongoDB Repository 150
mongodb-org-3.6 MongoDB Repository 144
mongodb-org-4.0 MongoDB Repository 170
mongodb-org-4.2 MongoDB Repository 120
mongodb-org-4.4 MongoDB Repository 196
mongodb-org-5.0 MongoDB Repository 177
mongodb-org-6.0 MongoDB Repository 39
Hi Stennie,
I am trying to install Mongodb 6.0 in Amazon linux (https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-amazon/). But getting error as:
package mongodb-org-6.0.6-1.amzn2.x86_64 requires mongodb-org-database, but none of the providers can be installed
- package mongodb-org-database-6.0.0-1.amzn2.x86_64 requires mongodb-org-server, but none of the providers can be installed
nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mongodb-org-server-6.0.0-1.amzn2.x86_64 - nothing provides libssl.so.10()(64bit) needed by mongodb-org-server-6.0.0-1.amzn2.x86_64
[root@ip-172-31-37-199 ~]# yum repolist
repo id repo name
amazonlinux Amazon Linux 2023 repository
kernel-livepatch Amazon Linux 2023 Kernel Livepatch repository
mongodb-org-6.0 MongoDB Repository
[root@ip-172-31-37-199 ~]# aws --version
aws-cli/2.9.19 Python/3.9.16 Linux/6.1.29-47.49.amzn2023.x86_64 source/x86_64.amzn.2023 prompt/off
Please help
Hi Shivangi,
Did you get any solution for your issue ? I’m hvaing a similar issue.
Error:
Problem: conflicting requests
- package mongodb-org-6.0.0-1.amzn2.x86_64 requires mongodb-org-database, but none of the providers can be installed
- package mongodb-org-6.0.1-1.amzn2.x86_64 requires mongodb-org-database, but none of the providers can be installed
[root@ip--21-10- ~]# aws --version
aws-cli/2.9.19 Python/3.9.16 Linux/6.1.34-59.116.amzn2023.x86_64 source/x86_64.amzn.2023 prompt/off
Hello all! I was having this issue today following the Install MongoDB Community Edition on Amazon Linux tutorial.
I switched from the Amazon Linux 2 tab over to the Amazon Linux 2022 tab,
resulting in a different base url in the yum repo file. This seemed to do the trick! Install complete.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
MongoDB 5.0 local read concern | 0 | 291 | Jun 2024 |
Changing the default data directory permissions | 3 | 403 | Aug 2024 |
I cannot connect MongoDB to my application. | 0 | 162 | Aug 2024 |
Arbiter Not Recognized After MongoDB 6.0 Upgrade: Quorum Issue | 1 | 177 | Sep 2024 |
Version Upgrade of MongoDB from 3.2 to 7.x | 2 | 98 | Jan 21 |