[DOCS-13639] Broken step: Configure the package management system (yum) Created: 11/May/20  Updated: 30/Oct/23  Due: 15/May/20  Resolved: 28/May/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Charles King Assignee: Andrew Feierabend (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 3 years, 36 weeks, 6 days ago
Epic Link: DOCSP-1769

 Description   

Description

Following these instructions:

```

Configure the package management system (yum).

Create a /etc/yum.repos.d/mongodb-org-4.2.repo file so that you can install MongoDB directly using yum:
copy
copied
[mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
You can also download the .rpm files directly from the MongoDB repository. Downloads are organized by Amazon Linux version (e.g. 2), then MongoDB release version (e.g. 4.2), then architecture (e.g. x86_64). Odd-numbered MongoDB release versions, such as 4.3, are development versions and are unsuitable for production deployment.
2

Install the MongoDB packages.

To install the latest stable version of MongoDB, issue the following command:
copy
copied
sudo yum install -y mongodb-org
```
Gives the following errors:
```

sudo yum install -y mongodb-org

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

  • base: d36uatko69830t.cloudfront.net
  • epel: d2lzkl7pfhq30w.cloudfront.net
  • extras: d36uatko69830t.cloudfront.net
  • updates: d36uatko69830t.cloudfront.net

No package mongodb-org available.

Error: Nothing to do

```

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 28/May/20 ]

Author:

{'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}

Message: DOCS-13639 clarify amazon linux distro only
Branch: v4.0
https://github.com/mongodb/docs/commit/2e768598b10370f46d46a767d65a754aae61539a

Comment by Githook User [ 28/May/20 ]

Author:

{'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}

Message: DOCS-13639 clarify amazon linux distro only
Branch: v4.2
https://github.com/mongodb/docs/commit/b3b4cc966ac3212399186a7f4c1970ac16d12b02

Comment by Githook User [ 28/May/20 ]

Author:

{'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}

Message: DOCS-13639 clarify amazon linux distro only
Branch: v3.6
https://github.com/mongodb/docs/commit/7cc22111b8830bbdde097f7950d90b79205158d4

Comment by Githook User [ 28/May/20 ]

Author:

{'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}

Message: DOCS-13639 clarify amazon linux distro only
Branch: master
https://github.com/mongodb/docs/commit/78aa3c09feeb43a97ad7922a775bbbc5238dd756

Comment by Ravind Kumar (Inactive) [ 12/May/20 ]

Hi hadley_king@gwmail.gwu.edu

Thank you for leaving feedback on the MongoDB Documentation. It looks like you ran into an issue trying to install MongoDB on Amazon Linux 2.

We strongly recommend posting your question to the MongoDB Community Forums. The MongoDB Documentation team cannot provide the troubleshooting and diagnostic assistance required for addressing your questions and the potential solutions.

We can take a look on our end to validate our instructions, but our queue is pretty full right now. The forums are your best bet at getting support in the near-term.

Thanks for your understanding.

Generated at Thu Feb 08 08:08:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.