[DOCS-16611] Error with MongoDB installation on Ubuntu 22.04 Created: 29/Jan/24  Updated: 29/Jan/24  Resolved: 29/Jan/24

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Critical - P2
Reporter: YC Phuah Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: top250
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
URL(s): https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition
Participants:
Days since reply: 1 week, 2 days ago

 Description   

Hi Docs team, I have received an Intercom chat today about an error on their local MongoDB Community Edition installation on Ubuntu 22.04. They were getting the error

Err:12 https://repo.mongodb.com/apt/ubuntu jammy/mongodb-org/7.0 Release
404 Not Found 

I found this {}community forum thread which mentioned that on Step 2: Create a List File for MongoDB,there is an error with the provided command:

echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.com/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list 

The domain repo.mongodb.com should be repo.mongodb.org.

The complete correct command:

echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list 

Although I have not tested this personally, I was informed by the chat customer that this fixed resolved the installation issue, it looks like a few comments on the forum thread also confirmed this.


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