[SERVER-24383] unable to upgrade mongodb from 2.4 to 2.6 Created: 02/Jun/16  Updated: 14/Jul/16  Resolved: 16/Jun/16

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

Type: Question Priority: Major - P3
Reporter: Ming Fang Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Participants:

 Description   

While trying to upgrade my mongodb from 2.4 to 2.6 I'm running into issue with yum packaging upgrade. Here are my steps that I'm have attempted which I'm following from https://docs.mongodb.com/manual/release-notes/2.6-upgrade/

configured yum file
yum.repos.d]$ cat mongodb-org-2.6.repo
[mongodb-org-2.6]
name=MongoDB 2.6 Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1
stop standby slave mongodb
sudo service mongodb stop
trying to update yum update

{failed}

$ sudo yum install -y mongodb-org-2.6.7 mongodb-org-server-2.6.7 mongodb-org-shell-2.6.7 mongodb-org-mongos-2.6.7 mongodb-org-tools-2.6.7Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
mongodb-org-2.6 | 951 B 00:00
mongodb-org-2.6/primary | 45 kB 00:00
mongodb-org-2.6 279/279
No package mongodb-org-2.6.7 available.
No package mongodb-org-server-2.6.7 available.
No package mongodb-org-shell-2.6.7 available.
No package mongodb-org-mongos-2.6.7 available.
No package mongodb-org-tools-2.6.7 available.
Error: Nothing to do

or
$ sudo yum install -y mongodb-org
Loaded plugins: priorities, update-motd, upgrade-helper
No package mongodb-org available.
Error: Nothing to do


Here is my repo files, could this be the problem with conflict with 10gen.repo?

[ec2-user@mongo-staging-1c yum.repos.d]$ ll
total 48
rw-rr- 1 root root 117 May 3 2013 10gen.repo-old
rw-rr- 1 root root 676 Feb 27 01:22 amzn-main.repo
rw-rr- 1 root root 684 Feb 18 2015 amzn-main.repo.rpmsave
rw-rr- 1 root root 328 Feb 27 01:22 amzn-nosrc.repo
rw-rr- 1 root root 360 Feb 18 2015 amzn-nosrc.repo.rpmsave
rw-rr- 1 root root 694 Feb 27 01:22 amzn-preview.repo
rw-rr- 1 root root 702 Feb 18 2015 amzn-preview.repo.rpmsave
rw-rr- 1 root root 694 Feb 27 01:22 amzn-updates.repo
rw-rr- 1 root root 702 Feb 18 2015 amzn-updates.repo.rpmsave
rw-rr- 1 root root 957 Mar 1 2013 epel.repo
rw-rr- 1 root root 1056 Mar 1 2013 epel-testing.repo
rw-rr- 1 root root 134 Jun 2 00:00 mongodb-org-2.6.repo



 Comments   
Comment by Kelsey Schubert [ 16/Jun/16 ]

Hi ming@iris.tv,

Thanks for your report. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag.

I would recommend you continue this discussion on the post you have already created on mongodb-users group.

Regards,
Thomas

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