使用apt-get安装mongodb-10gen失败

时间:2012-09-18 16:13:34

标签: mongodb

将mongodb-10gen安装为http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/,但收到以下错误:

dpkg: error processing /var/cache/apt/archives/mongodb-10gen_2.2.0_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/mongoimport', which is also in package mongodb-clients 1:1.4.4-3
configured to not write apport reports
                                      dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/mongodb-10gen_2.2.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

1 个答案:

答案 0 :(得分:60)

此处的错误https://jira.mongodb.org/browse/SERVER-6910

apt-get首先删除mongodb-clients,然后安装mongodb-10gen就可以了。