Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16611

Error with MongoDB installation on Ubuntu 22.04

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            yan-cheng.phuah@mongodb.com YC Phuah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              14 weeks, 2 days ago