[DOCS-15796] [SERVER][FEEDBACK] cannot install mongodb-mongosh=6.0.3 from apt repository Created: 21/Dec/22  Updated: 13/Nov/23  Resolved: 11/Jan/23

Status: Closed
Project: Documentation
Component/s: manual, mongosh, Server
Affects Version/s: 6.0.3
Fix Version/s: 6.0.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Bug Priority: Blocker - P1
Reporter: Christopher Opperman Assignee: Dave Cuthbert (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu


Participants:
Days since reply: 1 year, 4 weeks ago
Epic Link: DOCSP-22649

 Description   

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.{}



 Comments   
Comment by Githook User [ 11/Jan/23 ]

Author:

{'name': 'Dave Cuthbert', 'email': '69165704+davemungo@users.noreply.github.com', 'username': 'davemungo'}

Message: DOCS-15796 wrong mongosh version v6.0 (#2326)

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