使用apt-get安装mongodb-10gen失败 [英] install mongodb-10gen failed with apt-get

查看:81
本文介绍了使用apt-get安装mongodb-10gen失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://docs.mongodb安装mongodb-10gen. 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)

推荐答案

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

apt-get首先删除mongodb-clients,然后安装mongodb-10gen即可.

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

这篇关于使用apt-get安装mongodb-10gen失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆