-
Type:
Question
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.6.7
-
Component/s: Packaging
-
None
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
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
$ 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