[SERVER-24634] Ubuntu 16.04 LTS apt repo has no 3.0 packages Created: 17/Jun/16  Updated: 07/Apr/23  Resolved: 17/Jun/16

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

Type: Bug Priority: Major - P3
Reporter: Francis DB Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DOCS-8122 Add Ubuntu 16.04 to the list of versi... Closed
Operating System: ALL
Participants:

 Description   

This is the error you gent when trying to install through apt on Ubuntu 16.04 LTS Xenial

sudo apt-get update
...
W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.0/multiverse/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.



 Comments   
Comment by Ramon Fernandez Marina [ 17/Jun/16 ]

Thanks francisdb, I've created DOCS-8122 to update our docs.

Regards,
Ramón.

Comment by Francis DB [ 17/Jun/16 ]

thanks for the clarifications, you might want to update the documentation that you also support 16.04

Comment by Ramon Fernandez Marina [ 17/Jun/16 ]

I'm closing this ticket as "Works as Designed" since we only provide Ubuntu 16.04 packages for 3.2.

Regards,
Ramón.

Comment by Ernie Hershey [ 17/Jun/16 ]

Hi francisdb - it's a mechanism for pinning to a release series. We use a separate repo per MongoDB release series to prevent packaging systems from upgrading across release series without a manual step to ensure the upgrade is intentional. If you want to avoid this, you can use the "stable" repo which will always point to the latest stable release series. (http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/stable Release)

Comment by Francis DB [ 17/Jun/16 ]

what is the rationale behind introducing a new apt repo per mongo version?

Comment by Francis DB [ 17/Jun/16 ]

Ah ok, 3.2 is fine, I just thought that xenial was not supported because the docs only mention 14.04

https://docs.mongodb.com/v3.2/tutorial/install-mongodb-on-ubuntu/

Comment by Ramon Fernandez Marina [ 17/Jun/16 ]

francisdb, looking at the repository it seems we only have 3.2 packages for xenial. MongoDB 3.2 is our latest stable release, any reason why you'd prefer 3.0?

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