28

将 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)
4

1 回答 1

60

这里有一个错误https://jira.mongodb.org/browse/SERVER-6910

apt-get 首先删除 mongodb-clients,然后安装 mongodb-10gen 应该可以工作。

于 2012-09-18T16:13:33.717 回答