我已经在 Fedora 17 上安装了 mongoDB,但服务器没有运行。
我在这篇文章MongoDB service not running in Fedora中遇到了同样的错误, 然后尝试放松这条指令,我又遇到了另一个错误
试图做到这一点
yum --disablerepo=* --enablerepo=fedora,updates install mongodb mongodb-server
I got this Error
Transaction Check Error:
file /usr/bin/bsondump from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
file /usr/bin/mongo from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
file /usr/bin/mongodump from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
file /usr/bin/mongoexport from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
file /usr/bin/mongofiles from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
file /usr/bin/mongoimport from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
来自安装 mongodb-2.0.2-10.fc17.x86_64 的文件 /usr/bin/mongorestore 与来自包 mongo-10gen-2.0.6-mongodb_1.x86_64 的文件冲突
file /usr/bin/mongostat from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
file /usr/bin/mongotop from install of mongodb-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-2.0.6-mongodb_1.x86_64
来自安装 mongodb-server-2.0.2-10.fc17.x86_64 的文件 /etc/sysconfig/mongod 与来自包 mongo-10gen-server-2.0.6-mongodb_1.x86_64 的文件冲突
file /usr/bin/mongod from install of mongodb-server-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-server-2.0.6-mongodb_1.x86_64
file /usr/bin/mongos from install of mongodb-server-2.0.2-10.fc17.x86_64 conflicts with file from package mongo-10gen-server-2.0.6-mongodb_1.x86_64