Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7589

Error trying to upgrade to mongodb20-10gen on Ubuntu from existing package

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.2.4, 2.4.3
    • Affects Version/s: 2.0.7
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
      Ubuntu
    • Fully Compatible
    • Linux

      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.

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            dandv Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: