[SERVER-13691] yum and apt "stable" repositories contain release candidate 2.6.1-rc0 packages Created: 23/Apr/14  Updated: 11/Jul/16  Resolved: 24/Apr/14

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.6.0, 2.6.1-rc0
Fix Version/s: 2.6.1

Type: Bug Priority: Critical - P2
Reporter: Ruairi Newman (Inactive) Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-10874 Publish unstable and testing release ... Closed
Related
related to SERVER-13563 Upgrading from 2.4.x to 2.6.0 via yum... Closed
related to DOCS-3243 Enterprise repo doesn't work as-is wi... Closed
Operating System: Linux
Participants:

 Description   
Issue Status as of April 22, 2014

ISSUE SUMMARY
During the release of version 2.6.1-rc0, packages were accidentally published into the MongoDB yum and apt repositories such that new and upgrade requests would install the release candidate 2.6.1-rc0 instead of 2.6.0 (stable release).

USER IMPACT
Users expecting to install, upgrade to, or retain version 2.6.0 may inadvertently install version 2.6.1-rc0, which is a release candidate and not recommended for production use. However, we do not expect that accidentally updating to 2.6.1-rc0 will adversely affect your data or operations.

How to check if this impacts you

By using the appropriate command for your package manager, you can check if you have installed the 2.6.1-rc0 package.

If you use the apt package manager, you are impacted if the following command returns any output:

dpkg -l mongodb-\* | grep 2.6.1

If you use the yum package manager, you are impacted if the following command returns any output:

rpm -qa | grep -i mongod | grep 2.6.1

WORKAROUNDS

If you find that you have the wrong package installed, please use the appropriate instructions for your package manager listed below:

For yum users:

sudo yum makecache
sudo yum downgrade mongodb-org-server-2.6.0-1 mongodb-org-2.6.0-1 mongodb-org-tools-2.6.0-1 mongodb-org-shell-2.6.0-1 mongodb-org-mongos-2.6.0-1

For apt users:

sudo apt-get update
sudo apt-get install mongodb-org=2.6.0 mongodb-org-server=2.6.0 mongodb-org-shell=2.6.0 mongodb-org-mongos=2.6.0 mongodb-org-tools=2.6.0

RESOLUTION
The 2.6.1-rc0 packages were removed and package metadata updated.

AFFECTED VERSIONS
The packages were incorrectly published on April 22, 5:30pm EDT. The issue was resolved on April 23, 11:30AM EDT. Users who intended to install or upgrade to version 2.6.0 during this time were affected by this issue.

Original description

I just ran a 'yum upgrade' on an Amazon Linux EC2 instance to upgrade MongoDB 2.4.9. As a result MongoDB 2.6.1 rc0 was installed.

I don't believe this is intentional, as this release candidate should not be in the stable branch

Replaced:
  mongo-10gen.x86_64 0:2.4.9-mongodb_1                                                            mongo-10gen-server.x86_64 0:2.4.9-mongodb_1
 
Complete!
 
[ec2-user@ip-10-114-221-64 ~]$ cat /etc/yum.repos.d/
amzn-main.repo     amzn-nosrc.repo    amzn-preview.repo  amzn-updates.repo  epel.repo          epel-testing.repo  mongodb.repo
[ec2-user@ip-10-114-221-64 ~]$ cat /etc/yum.repos.d/mongodb.repo
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1
 
[ec2-user@ip-10-114-221-64 ~]$ mongod -version
db version v2.6.1-rc0
2014-04-23T08:19:19.474+0000 git version: a7f594977627996aa8731e936ef9c3801d512fc0



 Comments   
Comment by Githook User [ 28/Apr/14 ]

Author:

{u'username': u'rueckstiess', u'name': u'Thomas Rueckstiess', u'email': u'thomas@rueckstiess.net'}

Message: added SERVER-13691 to issue list.

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/9cd28a230c2ed37340716659f3bf103475488991

Generated at Thu Feb 08 03:32:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.