[SERVER-85820] Unable to install server-7.0 Created: 26/Jan/24  Updated: 05/Feb/24  Resolved: 05/Feb/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Thomas S Assignee: Chris Kelly
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

sudo apt-get update and

sudo apt-get install -y mongodb-org

Participants:

 Description   

I followed the installs steps here: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/

 

On 'sudo apt-get update' I get the following errors: 

root@rocketchat: ~# apt-get update

Hit: 1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit: 2 http://archive.ubuntu.com/ubuntu mantic InRelease
Ign: 3 https://repo.mongodb.com/apt/ubuntu jammy/mongodb-org/7.0 InRelease
Hit:4 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
Err: 5 https://repo.mongodb.com/apt/ubuntu jammy/mongodb-org/7.0 Release
404 Not Found [IP: 108.138.36.81 4431
Reading package lists... Done
E: The repository 'https://repo.mongodb.com/apt/ubuntu jammy/mongodb-org/7.0 Release' does not have a Release file
N: Updating from such à repository can't be done securely, and is therefore disabled by default.
N: See apt-secure (8) manpage for repository creation and user configuration details.{}

 

On

sudo apt-get install -y mongodb-org 

I get:

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

E: Unable to locate package mongodb-org

 



 Comments   
Comment by Chris Kelly [ 05/Feb/24 ]

Hi Thomas,

Thanks for your report. Per our Platform Support and Production Notes, MongoDB 7.0 is supported on Ubuntu 20.04/22.04.

It looks like you are trying to pull the MongoDB Community package from the MongoDB Enterprise repo (which uses .com). You need to use https://repo.mongodb.org/apt/ubuntu. Please consult https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/#create-a-list-file-for-mongodb for the steps.

This post mentioned a similar issue recently as well, with additional context if you're interested. I'm going to close this issue since it does not appear to be a SERVER bug. Thanks for reaching out!

 

Generated at Thu Feb 08 06:58:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.