[SERVER-13862] Unable to install mongodb-org-server 2.6.1-1 on RHEL5 via RPM Created: 07/May/14  Updated: 11/Mar/15  Resolved: 09/May/14

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.6.1
Fix Version/s: 2.6.2, 2.7.1

Type: Bug Priority: Major - P3
Reporter: Xavier Vdb Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-13563 Upgrading from 2.4.x to 2.6.0 via yum... Closed
Tested
Backwards Compatibility: Fully Compatible
Operating System: Linux
Backport Completed:
Steps To Reproduce:

RHEL5 or RHEL6 without mongod installed

Participants:

 Description   
Issue Status as of Jun 09, 2014

ISSUE SUMMARY
The 2.6.1-1 RPM packages for MongoDB 2.6.1 fail to install on RHEL5. The RPM package specification files for 2.6.1-1 use old package names in the Conflicts field.

USER IMPACT
RHEL5 users can't use the 2.6.1-1 packages to upgrade to MongoDB 2.6.1, but can download the corrected 2.6.1-2 packages.

WORKAROUNDS
N/A

AFFECTED VERSIONS
RPM packages 2.6.1-1 for RHEL5 is the only configuration affected by this issue.

FIX VERSION
The fix is included in the 2.6.1-2 RPM packages.

RESOLUTION DETAILS
RPM package specification files have been corrected to reflect the new package naming in the Conflicts field.

Original description

yum install mongdb-org-server return :

Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
mongo-10gen-server conflit with mongodb-org-server-2.6.1-1.x86_64

note : mongo-10gen-server is not installed

----------

in mongodb-org.spec :

Conflicts: mongo-10gen ...
Obsoletes: mongo-10gen
Provides: mongo-10gen

present in conflicts and provides ?

cordialy



 Comments   
Comment by Githook User [ 24/May/14 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-13862 Remove old package names from rpm Conflicts field

This is a small change removing the equivalent old package name
from every stable community and enterprise rpm Conflicts field

(cherry picked from commit bf66780fece7c58d2c1f636764b54e01e55ce2bc)
Branch: v2.6
https://github.com/mongodb/mongo/commit/87fd9929f9cdc0a287db4603704ff69218a8465c

Comment by Ernie Hershey [ 09/May/14 ]

We've published updated RPM's as 2.6.1-2 which fix this problem.

Comment by Githook User [ 09/May/14 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-13862 Remove old package names from rpm Conflicts field

This is a small change removing the equivalent old package name
from every stable community and enterprise rpm Conflicts field
Branch: master
https://github.com/mongodb/mongo/commit/bf66780fece7c58d2c1f636764b54e01e55ce2bc

Comment by Ernie Hershey [ 09/May/14 ]

I believe the fix for this will be to remove the old packages from the Conflicts lines, which we tested briefly in SERVER-13563.

Comment by Ernie Hershey [ 09/May/14 ]

This is reproducible in rhel 5.7, 5.9 and 5.10.

Comment by Ernie Hershey [ 07/May/14 ]

Okay. Let me know if you want any other help. You can also post to the mongodb-user mailing list which is helpful for this type of problem - https://groups.google.com/forum/#!forum/mongodb-user

Comment by Xavier Vdb [ 07/May/14 ]

I copied the rpms in my private repo (internet is not allowed)
my private repo contains no other release

I solved the problem by replacing 2.6.1 with 2.6.0

Comment by Ernie Hershey [ 07/May/14 ]

Hi xavier.vdb@gmail.com - can you paste the exact command you ran and the output you saw? I can't reproduce this.

[root@xxx yum.repos.d]# 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
[root@xxx yum.repos.d]# yum install mongodb-org-server
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.us.leaseweb.net
 * extras: mirror.solarvps.com
 * updates: mirrors.advancedhosters.com
mongodb                                                                                                                   |  951 B     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mongodb-org-server.x86_64 0:2.6.1-1 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=================================================================================================================================================
 Package                                    Arch                           Version                         Repository                       Size
=================================================================================================================================================
Installing:
 mongodb-org-server                         x86_64                         2.6.1-1                         mongodb                         8.9 M
 
Transaction Summary
=================================================================================================================================================
Install       1 Package(s)
 
Total download size: 8.9 M
Installed size: 22 M
Is this ok [y/N]: y
Downloading Packages:
mongodb-org-server-2.6.1-1.x86_64.rpm                                                                                     | 8.9 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mongodb-org-server-2.6.1-1.x86_64                                                                                             1/1
  Verifying  : mongodb-org-server-2.6.1-1.x86_64                                                                                             1/1
 
Installed:
  mongodb-org-server.x86_64 0:2.6.1-1
 
Complete!
[root@xx yum.repos.d]#

Comment by Graham Lyons [ 07/May/14 ]

I believe that this same issue prevents installation of any mongo-10gen-server packages via RPM.

Trying to install mongo 2.4 I get the message: Package mongo-10gen-server is obsoleted by mongodb-org-server, trying to install mongodb-org-server-2.6.1-1.x86_64 instead.

(That then fails with Package mongodb-org-server-2.6.1-1.x86_64.rpm is not signed, dependent on SERVER-8770).

Generated at Thu Feb 08 03:33:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.