tentando instalar o mongo mas recebendo erros

1

Estou seguindo o site do mongo ( link ) para instalar o mongo no meu centos 5.1o

Estou recebendo erros a seguir

sudo yum install mongodb-org
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: www8.atomicorp.com
 * base: mirrors.tummy.com
 * epel: mirror.compevo.com
 * extras: mirror.raystedman.net
 * rpmforge: mirror.team-cymru.org
 * updates: mirror.steadfast.net
atomic                                                                        | 1.9 kB     00:00     
base                                                                          | 1.1 kB     00:00     
c5-testing                                                                    | 1.9 kB     00:00     
epel                                                                          | 3.7 kB     00:00     
extras                                                                        | 2.1 kB     00:00     
rpmforge                                                                      | 1.9 kB     00:00     
updates                                                                       | 1.9 kB     00:00     
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package mongodb-org.i686 0:2.6.1-1 set to be updated
--> Processing Dependency: mongodb-org-server = 2.6.1 for package: mongodb-org
--> Processing Dependency: mongodb-org-shell = 2.6.1 for package: mongodb-org
--> Processing Dependency: mongodb-org-mongos = 2.6.1 for package: mongodb-org
--> Processing Dependency: mongodb-org-tools = 2.6.1 for package: mongodb-org
--> Running transaction check
---> Package mongodb-org-mongos.i686 0:2.6.1-1 set to be updated
---> Package mongodb-org-server.i686 0:2.6.1-1 set to be updated
---> Package mongodb-org-shell.i686 0:2.6.1-1 set to be updated
---> Package mongodb-org-tools.i686 0:2.6.1-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================
 Package                         Arch              Version                Repository            Size
=====================================================================================================
Installing:
 mongodb-org                     i686              2.6.1-1                mongodb              4.6 k
Installing for dependencies:
 mongodb-org-mongos              i686              2.6.1-1                mongodb              6.7 M
 mongodb-org-server              i686              2.6.1-1                mongodb              8.9 M
 mongodb-org-shell               i686              2.6.1-1                mongodb              4.2 M
 mongodb-org-tools               i686              2.6.1-1                mongodb               88 M

Transaction Summary
=====================================================================================================
Install       5 Package(s)
Upgrade       0 Package(s)

Total size: 108 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
mongo-10gen-server conflicts with mongodb-org-server-2.6.1-1.i686
mongo-10gen-tools conflicts with mongodb-org-tools-2.6.1-1.i686
mongo-10gen-shell conflicts with mongodb-org-shell-2.6.1-1.i686
mongo-10gen-mongos conflicts with mongodb-org-mongos-2.6.1-1.i686
mongo-10gen conflicts with mongodb-org-2.6.1-1.i686
Complete!
(1, [u'Please report this error in http://bugs.centos.org/yum5bug'])

O que posso fazer para corrigir isso e fazer com que o mongo continue

Obrigado

    
por user50946 08.05.2014 / 07:36

1 resposta

1

Seu pacote entra em conflito com a versão antiga do mongodb. O pacote mongo-10gen é o mongodb 2.4 (referências aqui ). Para resolver isso, basta desinstalar os pacotes em conflito

sudo yum remove mongo-10gen-server mongo-10gen-tools mongo-10gen-shell mongo-10gen-mongos mongo-10gen

Em seguida, instale novamente o mongodb

sudo yum install mongodb-org
    
por 08.05.2014 / 08:02