[SERVER-8354] Debian package fails to install if mongodb is installed Created: 27/Jan/13  Updated: 10/Dec/14  Resolved: 20/Oct/13

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.2.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Stephen Woodbridge Assignee: Ernie Hershey
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian Squeeze, Debian mongodb package already installed, i386 package


Issue Links:
Duplicate
duplicates SERVER-11196 Debian packages do not properly confl... Closed
Operating System: Linux
Steps To Reproduce:

sudo apt-get install mongodb
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo vi /etc/apt/sources.list.d/10gen.list
sudo apt-get update
sudo apt-get install mongodb-10gen

Participants:

 Description   

woodbri@maps:/u/srcdata/navteq-reis$ sudo apt-get install mongodb-10gen
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
mongodb-server mongodb-clients libnspr4-0d libmozjs2d
libboost-filesystem1.42.0 mongodb-dev libboost-system1.42.0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
mongodb
The following NEW packages will be installed:
mongodb-10gen
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 50.6 MB of archives.
After this operation, 124 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-10gen i386 2.2.2 [50.6 MB]
Fetched 50.6 MB in 7s (6,463 kB/s)
(Reading database ... 66287 files and directories currently installed.)
Removing mongodb ...
Selecting previously deselected package mongodb-10gen.
(Reading database ... 66283 files and directories currently installed.)
Unpacking mongodb-10gen (from .../mongodb-10gen_2.2.2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mongodb-10gen_2.2.2_i386.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.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Generated at Thu Feb 08 03:17:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.