Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13689

MongoDB 2.6 Update Error on CentOS using yum

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.0
    • Packaging
    • None
    • ALL
    • Hide

      1) Stop: mongod version 2.4.3
      2) Remove 10gen.repo in /etc/yum.repos.d
      3) Create a /etc/yum.repos.d/mongodb.repo with the new configuration
      4) Run: yum install mongodb-org

      Show
      1) Stop: mongod version 2.4.3 2) Remove 10gen.repo in /etc/yum.repos.d 3) Create a /etc/yum.repos.d/mongodb.repo with the new configuration 4) Run: yum install mongodb-org

    Description

      I'm trying to update MongoDB 2.4 to 2.6 on my 64-bit CentOS machine. I have removed the old 10gen repository package and created the /etc/yum.repos.d/mongodb.repo file with the new configuration as explained here.

      However, when I run sudo yum install mongodb-org, I get the following error:

      Error: mongodb-org conflicts with mongodb-org-server

      This is the output in the shell:

      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package mongodb-org.x86_64 0:2.6.1-0.1.rc0 will be installed
      --> Processing Dependency: mongodb-org-server = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
      --> Processing Dependency: mongodb-org-shell = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
      --> Processing Dependency: mongodb-org-mongos = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
      --> Processing Dependency: mongodb-org-tools = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
      --> Running transaction check
      ---> Package mongodb-org-mongos.x86_64 0:2.6.1-0.1.rc0 will be installed
      ---> Package mongodb-org-server.x86_64 0:2.6.1-0.1.rc0 will be installed
      ---> Package mongodb-org-shell.x86_64 0:2.6.1-0.1.rc0 will be installed
      ---> Package mongodb-org-tools.x86_64 0:2.6.1-0.1.rc0 will be installed
      --> Processing Conflict: mongodb-org-2.6.1-0.1.rc0.x86_64 conflicts mongo-10gen-server
      --> Finished Dependency Resolution
      Error: mongodb-org conflicts with mongodb-org-server
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest

      Attachments

        Activity

          People

            ernie.hershey@mongodb.com Ernie Hershey
            juancarlos@boxagon.com Juan Carlos Farah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: