简体   繁体   中英

install mongodb-10gen failed with apt-get

Install mongodb-10gen as http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/ but got error below:

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)

A bug here https://jira.mongodb.org/browse/SERVER-6910

apt-get remove mongodb-clients first, and then the installation of mongodb-10gen should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM