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

Debian package fails to install if mongodb is installed

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.2
    • Component/s: Packaging
    • None
    • Environment:
      Debian Squeeze, Debian mongodb package already installed, i386 package
    • Linux
    • Hide

      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

      Show
      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

      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)

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

              Created:
              Updated:
              Resolved: