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
- duplicates
-
SERVER-10874 Publish unstable and testing release packages in separate repos
- Closed
- related to
-
SERVER-13563 Upgrading from 2.4.x to 2.6.0 via yum clobbers configuration file
- Closed