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

mongodb is uninstallable on Debian Squeeze from the official repos

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0, 2.2.1, 2.2.2, 2.2.3
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
    • Environment:
      Debian Squeeze
    • Operating System:
      Linux
    • Steps To Reproduce:
      Hide
      1. apt-get install mongodb-10gen
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        The following NEW packages will be installed:
        mongodb-10gen
        0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
        Need to get 0 B/51.9 MB of archives.
        After this operation, 127 MB of additional disk space will be used.
        Info: starting unrap-all...
        Selecting previously deselected package mongodb-10gen.
        (Reading database ... 32675 files and directories currently installed.)
        Unpacking mongodb-10gen (from .../mongodb-10gen_2.2.3_amd64.deb) ...
        Processing triggers for man-db ...
        Setting up mongodb-10gen (2.2.3) ...
        Starting database: mongodbstart-stop-daemon: unrecognized option '--interleave=all'
        Try 'start-stop-daemon --help' for more information.
        failed!
        invoke-rc.d: initscript mongodb, action "start" failed.
        dpkg: error processing mongodb-10gen (--configure):
        subprocess installed post-installation script returned error exit status 1
        configured to not write apport reports
        Errors were encountered while processing:
        mongodb-10gen

      E: Sub-process /usr/bin/dpkg returned an error code (1)

      Show
      apt-get install mongodb-10gen Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: mongodb-10gen 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/51.9 MB of archives. After this operation, 127 MB of additional disk space will be used. Info: starting unrap-all... Selecting previously deselected package mongodb-10gen. (Reading database ... 32675 files and directories currently installed.) Unpacking mongodb-10gen (from .../mongodb-10gen_2.2.3_amd64.deb) ... Processing triggers for man-db ... Setting up mongodb-10gen (2.2.3) ... Starting database: mongodbstart-stop-daemon: unrecognized option '--interleave=all' Try 'start-stop-daemon --help' for more information. failed! invoke-rc.d: initscript mongodb, action "start" failed. dpkg: error processing mongodb-10gen (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: mongodb-10gen E: Sub-process /usr/bin/dpkg returned an error code (1)

      Description

      Due to bug in /etc/init.d/mongodb script mongodb installation process (as explained in the official mongodb documentation) fails with following error:

      Setting up mongodb-10gen (2.2.3) ...
      Starting database: mongodbstart-stop-daemon: unrecognized option '--interleave=all'
      Try 'start-stop-daemon --help' for more information.
      failed!
      invoke-rc.d: initscript mongodb, action "start" failed.
      dpkg: error processing mongodb-10gen (--configure):
      subprocess installed post-installation script returned error exit status 1
      configured to not write apport reports
      Errors were encountered while processing:
      mongodb-10gen

      The patch provided fixes this while still chekcing for numactl availability.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: