[SERVER-57939] [Metapackaging] Finalize server metapackaging for 5.0 release Created: 22/Jun/21  Updated: 29/Oct/23  Resolved: 26/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc5, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Dev Platform 2021-06-28
Participants:

 Description   

Once we are producing the mongodb-{o,e}{,-u} and mongodb-{o,e}{,-u}{,-tools} packages from the metapackaging project, we need to remove production of those packages from the server build.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Tianon Gravi [ 08/Jul/21 ]

Perfect, thank you for confirming – it's very much appreciated!

Comment by Andrew Morrow (Inactive) [ 08/Jul/21 ]

tianon - I think this is just a wrinkle in synchronizing the cross-product packaging changes related to getting the mongosh product into the 5.0 release. Hopefully for future releases it will be included in the testing and development repos as well, so the process you were attempting to follow would work. So I wouldn't draw any specific conclusions from the current situation.

Comment by Tianon Gravi [ 08/Jul/21 ]

Ah, that makes sense!  In the general case, should we still be including the `X.Y` "release" repositories while installing RCs?

Comment by Andrew Morrow (Inactive) [ 08/Jul/21 ]

tianon - You can obtain the mongodb-mongosh packages from the following repo

deb http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse

It isn't currently available in the testing or development repositories. This will be resolved for the 5.0 GA.

Comment by Tianon Gravi [ 08/Jul/21 ]

I think this might be responsible for the issue I'm seeing – I'm trying to install the 5.0.0 RC5+ packages and getting the following:

+ apt-get install -y mongodb-org=5.0.0~rc7 mongodb-org-server=5.0.0~rc7 mongodb-org-shell=5.0.0~rc7 mongodb-org-mongos=5.0.0~rc7 mongodb-org-tools=5.0.0~rc7
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 mongodb-org : Depends: mongodb-mongosh but it is not installable
E: Unable to correct problems, you have held broken packages.

The my sources.list entry is:

deb http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/testing multiverse

(I can verify that this was all working up to and including 5.0.0-rc4 and broke on rc5, which seems to correspond to this ticket's Fix Version. )

Is there another repository I need to add for the 5.0.0 release candidates to pick up this additional package?

Comment by Githook User [ 28/Jun/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-57939 Include mongosh in server metapackage

(cherry picked from commit 08ecd18997305d6855b3fe10410d11e5ddcbb5fc)
Branch: v5.0
https://github.com/mongodb/mongo/commit/0ad62f387aad9a4b91683512f1ad6c3e91965eab

Comment by Githook User [ 25/Jun/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-57939 Include mongosh in server metapackage
Branch: master
https://github.com/mongodb/mongo/commit/08ecd18997305d6855b3fe10410d11e5ddcbb5fc

Generated at Thu Feb 08 05:43:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.