[SERVER-7589] Error trying to upgrade to mongodb20-10gen on Ubuntu from existing package Created: 08/Nov/12  Updated: 05/Feb/16  Resolved: 22/May/13

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.0.7
Fix Version/s: 2.2.4, 2.4.3

Type: Bug Priority: Minor - P4
Reporter: Dan Dascalescu Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu


Backwards Compatibility: Fully Compatible
Operating System: Linux
Participants:

 Description   

I'm trying to install the stable release of the v2.0 branch according to http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/, and ran into the following error at the Install Packages step:

$ sudo apt-get install mongodb20-10gen
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mongodb20-10gen
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/35.3 MB of archives.
After this operation, 85.7 MB of additional disk space will be used.
(Reading database ... 36574 files and directories currently installed.)
Unpacking mongodb20-10gen (from .../mongodb20-10gen_2.0.7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mongodb20-10gen_2.0.7_i386.deb (--unpack):
trying to overwrite '/usr/bin/mongoimport', which is also in package mongodb-clients 1:2.0.4-1ubuntu2
E: Sub-process /usr/bin/dpkg returned an error code (1)

I got it to install after removing mongodb-clients. Thought I should report this in case there's a way to automate the upgrade, of if the docs can be updated.



 Comments   
Comment by auto [ 15/Apr/13 ]

Author:

{u'date': u'2013-04-15T20:41:02Z', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-7589 Clarify conflicting packages for Debian installation instructions

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/4899609d4e2bc35e7a200e222c0c559d8b46a5fb

Comment by auto [ 15/Apr/13 ]

Author:

{u'date': u'2013-04-15T20:38:06Z', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-7589 Add mongodb-server package as well

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/c39995454ca8796a16e690736edd02d26e1b869d

Comment by auto [ 15/Apr/13 ]

Author:

{u'date': u'2013-04-15T20:32:16Z', u'name': u'Ernie Hershey', u'email': u'github@ernie.org'}

Message: SERVER-7589 Clarify conflict with Ubuntu packages

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/64ba1fd7c89f648039f061f5809ffe902e735105

Comment by auto [ 15/Apr/13 ]

Author:

{u'date': u'2013-04-15T20:41:02Z', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-7589 Clarify conflicting packages for Debian installation instructions

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.2
https://github.com/mongodb/docs/commit/ac17f846b9bea594fb1758aa51c735e09cfa4572

Comment by auto [ 15/Apr/13 ]

Author:

{u'date': u'2013-04-15T20:38:06Z', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-7589 Add mongodb-server package as well

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.2
https://github.com/mongodb/docs/commit/063fee1ea9224c8ff42ef569a7f7f028da7ca7a1

Comment by auto [ 15/Apr/13 ]

Author:

{u'date': u'2013-04-15T20:32:16Z', u'name': u'Ernie Hershey', u'email': u'github@ernie.org'}

Message: SERVER-7589 Clarify conflict with Ubuntu packages

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.2
https://github.com/mongodb/docs/commit/b38968b0ad92d3e95cb88b658e660bc8f2b067d5

Comment by Ernie Hershey [ 15/Apr/13 ]

I don't think we can automate removing/replacing the mongodb-clients package, but we can mention that package as a conflict in our installation instructions.

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