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

Enterprise install for Debian and Ubuntu are erring out for 2.6.5



    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • None
    • None
    • Packaging


      On a clean Debian 7 or Ubuntu 14 install, installing Enterprise mongodb fails due to the error below:

      admin@ip-10-203-141-130:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
      Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.nmjPTy4W71 --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
      gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com
      gpg: key 7F0CEB10: public key "Richard Kreuter <richard@10gen.com>" imported
      gpg: no ultimately trusted keys found
      gpg: Total number processed: 1
      gpg:               imported: 1  (RSA: 1)
      admin@ip-10-203-141-130:~$ echo 'deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/stable multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
      deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/stable multiverse
      admin@ip-10-203-141-130:~$ sudo apt-get update
      Get:1 http://repo.mongodb.com precise/mongodb-enterprise/stable Release.gpg [490 B]
      Get:2 http://repo.mongodb.com precise/mongodb-enterprise/stable Release [2,127 B]                                     
      Get:3 http://repo.mongodb.com precise/mongodb-enterprise/stable/multiverse amd64 Packages [8,640 B]                          
      Get:4 http://security.debian.org wheezy/updates Release.gpg [836 B]                                     
      Get:5 http://security.debian.org wheezy/updates Release [102 kB]                                                    
      Get:6 http://security.debian.org wheezy/updates/main Sources [141 kB]                                
      Get:7 http://security.debian.org wheezy/updates/main amd64 Packages [221 kB]                             
      Ign http://repo.mongodb.com precise/mongodb-enterprise/stable/multiverse Translation-en_US                        
      Ign http://repo.mongodb.com precise/mongodb-enterprise/stable/multiverse Translation-en                           
      Hit http://http.debian.net wheezy Release.gpg                                                               
      Get:8 http://security.debian.org wheezy/updates/main Translation-en [125 kB]
      Hit http://http.debian.net wheezy Release                                        
      Hit http://http.debian.net wheezy/main Sources
      Hit http://http.debian.net wheezy/main amd64 Packages
      Hit http://http.debian.net wheezy/main Translation-en
      Fetched 601 kB in 0s (649 kB/s)
      Reading package lists... Done
      admin@ip-10-203-141-130:~$ sudo apt-get install mongodb-enterprise
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following extra packages will be installed:
        mongodb-enterprise-mongos mongodb-enterprise-server mongodb-enterprise-shell mongodb-enterprise-tools
      The following NEW packages will be installed:
        mongodb-enterprise mongodb-enterprise-mongos mongodb-enterprise-server mongodb-enterprise-shell mongodb-enterprise-tools
      0 upgraded, 5 newly installed, 0 to remove and 31 not upgraded.
      Need to get 99.0 MB of archives.
      After this operation, 247 MB of additional disk space will be used.
      Do you want to continue [Y/n]? Y
      Get:1 http://repo.mongodb.com/apt/ubuntu/ precise/mongodb-enterprise/stable/multiverse mongodb-enterprise-shell amd64 2.6.5 [4,225 kB]
      Get:2 http://repo.mongodb.com/apt/ubuntu/ precise/mongodb-enterprise/stable/multiverse mongodb-enterprise-server amd64 2.6.5 [8,167 kB]
      Get:3 http://repo.mongodb.com/apt/ubuntu/ precise/mongodb-enterprise/stable/multiverse mongodb-enterprise-mongos amd64 2.6.5 [6,435 kB]
      Get:4 http://repo.mongodb.com/apt/ubuntu/ precise/mongodb-enterprise/stable/multiverse mongodb-enterprise-tools amd64 2.6.5 [80.1 MB]
      Get:5 http://repo.mongodb.com/apt/ubuntu/ precise/mongodb-enterprise/stable/multiverse mongodb-enterprise amd64 2.6.5 [3,620 B]
      Fetched 99.0 MB in 3s (32.3 MB/s)               
      Selecting previously unselected package mongodb-enterprise-shell.
      (Reading database ... 38469 files and directories currently installed.)
      Unpacking mongodb-enterprise-shell (from .../mongodb-enterprise-shell_2.6.5_amd64.deb) ...
      Selecting previously unselected package mongodb-enterprise-server.
      Unpacking mongodb-enterprise-server (from .../mongodb-enterprise-server_2.6.5_amd64.deb) ...
      Selecting previously unselected package mongodb-enterprise-mongos.
      Unpacking mongodb-enterprise-mongos (from .../mongodb-enterprise-mongos_2.6.5_amd64.deb) ...
      Selecting previously unselected package mongodb-enterprise-tools.
      Unpacking mongodb-enterprise-tools (from .../mongodb-enterprise-tools_2.6.5_amd64.deb) ...
      Selecting previously unselected package mongodb-enterprise.
      Unpacking mongodb-enterprise (from .../mongodb-enterprise_2.6.5_amd64.deb) ...
      Processing triggers for man-db ...
      Setting up mongodb-enterprise-shell (2.6.5) ...
      Setting up mongodb-enterprise-server (2.6.5) ...
      Adding system user `mongodb' (UID 103) ...
      Adding new user `mongodb' (UID 103) with group `nogroup' ...
      Not creating home directory `/home/mongodb'.
      Adding group `mongodb' (GID 105) ...
      Adding user `mongodb' to group `mongodb' ...
      Adding user mongodb to group mongodb
      invoke-rc.d: unknown initscript, /etc/init.d/mongod not found.
      dpkg: error processing mongodb-enterprise-server (--configure):
       subprocess installed post-installation script returned error exit status 100
      Setting up mongodb-enterprise-mongos (2.6.5) ...
      Setting up mongodb-enterprise-tools (2.6.5) ...
      dpkg: dependency problems prevent configuration of mongodb-enterprise:
       mongodb-enterprise depends on mongodb-enterprise-server; however:
        Package mongodb-enterprise-server is not configured yet.
      dpkg: error processing mongodb-enterprise (--configure):
       dependency problems - leaving unconfigured
      Errors were encountered while processing:
      E: Sub-process /usr/bin/dpkg returned an error code (1)


        Issue Links



              Unassigned Unassigned
              jalpa.trivedi@mongodb.com Jalpa Trivedi
              0 Vote for this issue
              3 Start watching this issue