-
Type: Task
-
Resolution: Duplicate
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
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.