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

[SERVER][FEEDBACK] cannot install mongodb-mongosh=6.0.3 from apt repository

      From https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/#install-the-mongodb-packages:

      sudo apt-get install -y mongodb-org=6.0.3 mongodb-org-database=6.0.3 mongodb-org-server=6.0.3 mongodb-mongosh=6.0.3 mongodb-org-mongos=6.0.3 mongodb-org-tools=6.0.3

      However, mongodb-mongosh=6.0.3 does not exist in the repository:

      {{root@dl-ubuntu-2204:~# sudo apt-cache policy mongodb-mongosh
      mongodb-mongosh:
      Installed: (none)
      Candidate: 1.6.1
      Version table:
      1.6.1 500
      500 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0/multiverse amd64 Packages
      1.6.0 500
      500 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0/multiverse amd64 Packages
      1.5.4 500
      500 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0/multiverse amd64 Packages
      1.5.3 500
      500 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0/multiverse amd64 Packages
      1.5.2 500
      500 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0/multiverse amd64 Packages

      root@dl-ubuntu-2204:~# sudo apt-cache policy mongodb-org-shell
      mongodb-org-shell:
      Installed: (none)
      Candidate: 6.0.3
      Version table:
      6.0.3 500
      500 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0/multiverse amd64 Packages}}
      {{}}

      However, removing mongodb-mongosh from the installation command above, it is still installed using the latest version, and its not clear whether this version works for all versions of MongoDB.{}

            Assignee:
            dave.cuthbert@mongodb.com Dave Cuthbert (Inactive)
            Reporter:
            chris@cloud66.com Christopher Opperman
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 15 weeks, 1 day ago