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

CentOS repo silently installs 2.6.x when specifically instructed to install 2.4.x

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Admin
    • Environment:
      CentOS 6.4
    • Linux

      Sorry if this is the wrong place to put this. This is a major problem because even an install script that is specifically attempting to install 2.4.10 will appear to succeed even though 2.6.3 (at present) will actually be installed.

      Here is a transcription copied from my terminal to demonstrate the issue:

      [richard@hamhobby ~]$ sudo yum install mongo-10gen-server-2.4.10
      Loaded plugins: fastestmirror, refresh-packagekit, security
      Loading mirror speeds from cached hostfile
       * base: mirrors.adams.net
       * epel: linux.mirrors.es.net
       * extras: centos-mirror.jchost.net
       * updates: mirror.thelinuxfix.com
      Setting up Install Process
      Package mongo-10gen-server is obsoleted by mongodb-org-server, trying to install mongodb-org-server-2.6.3-1.x86_64 instead
      Resolving Dependencies
      --> Running transaction check
      ---> Package mongo-10gen-server.x86_64 0:2.4.10-mongodb_1 will be obsoleted
      ---> Package mongodb-org-server.x86_64 0:2.6.3-1 will be obsoleting
      --> Finished Dependency Resolution
      
      Dependencies Resolved
      
      ========================================================================================================================================================================================================================================
       Package                                                          Arch                                                 Version                                                Repository                                           Size
      ========================================================================================================================================================================================================================================
      Installing:
       mongodb-org-server                                               x86_64                                               2.6.3-1                                                10gen                                               9.0 M
           replacing  mongo-10gen-server.x86_64 2.4.10-mongodb_1
      
      Transaction Summary
      ========================================================================================================================================================================================================================================
      Install       1 Package(s)
      
      Total download size: 9.0 M
      Is this ok [y/N]: ^CExiting on user Command
      [richard@hamhobby ~]$ sudo yum install mongodb-org-server-2.4.10
      Loaded plugins: fastestmirror, refresh-packagekit, security
      Loading mirror speeds from cached hostfile
       * base: mirrors.adams.net
       * epel: linux.mirrors.es.net
       * extras: centos-mirror.jchost.net
       * updates: mirror.thelinuxfix.com
      Setting up Install Process
      No package mongodb-org-server-2.4.10 available.
      Error: Nothing to do
      [richard@hamhobby ~]$ sudo yum install mongodb-org-server-2.6.3
      Loaded plugins: fastestmirror, refresh-packagekit, security
      Loading mirror speeds from cached hostfile
       * base: mirrors.adams.net
       * epel: linux.mirrors.es.net
       * extras: centos-mirror.jchost.net
       * updates: mirror.thelinuxfix.com
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package mongo-10gen-server.x86_64 0:2.4.10-mongodb_1 will be obsoleted
      ---> Package mongodb-org-server.x86_64 0:2.6.3-1 will be obsoleting
      --> Finished Dependency Resolution
      
      Dependencies Resolved
      
      ========================================================================================================================================================================================================================================
       Package                                                          Arch                                                 Version                                                Repository                                           Size
      ========================================================================================================================================================================================================================================
      Installing:
       mongodb-org-server                                               x86_64                                               2.6.3-1                                                10gen                                               9.0 M
           replacing  mongo-10gen-server.x86_64 2.4.10-mongodb_1
      
      Transaction Summary
      ========================================================================================================================================================================================================================================
      Install       1 Package(s)
      
      Total download size: 9.0 M
      Is this ok [y/N]: ^CExiting on user Command
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            rbateman@gradecam.com Richard Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: