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

mongodb-org 4.2.11 debian package is failing to install

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.2.11
    • Component/s: None
    • None
    • ALL
    • Hide

      docker run --rm -ti debian bash
      apt-get update
      apt install -y wget gnupg
      wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
      apt-get update --allow-releaseinfo-change && apt-get install -y lsb-release
      echo "deb http://repo.mongodb.org/apt/debian "$(lsb_release -sc)"/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb.list
      apt-get update && apt-get install -y mongodb-org
       

      Show
      docker run --rm -ti debian bash apt-get update apt install -y wget gnupg wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - apt-get update --allow-releaseinfo-change && apt-get install -y lsb-release echo "deb http://repo.mongodb.org/apt/debian "$(lsb_release -sc)"/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb.list apt-get update && apt-get install -y mongodb-org  

      Installing mongodb-org is now failing on debian when it was working in the previous patch version 4.2.10 with the following error:

      /var/lib/dpkg/info/mongodb-org-server.postinst: 43: /var/lib/dpkg/info/mongodb-org-server.postinst: systemctl: not found
      dpkg: error processing package mongodb-org-server (--configure):
       installed mongodb-org-server package post-installation script subprocess returned error exit status 127
      Setting up mongodb-org-shell (4.2.11) ...
      Setting up mongodb-org-mongos (4.2.11) ...
      dpkg: dependency problems prevent configuration of mongodb-org:
       mongodb-org depends on mongodb-org-server; however:
        Package mongodb-org-server is not configured yet.dpkg: error processing package mongodb-org (--configure):
       dependency problems - leaving unconfigured
      Processing triggers for libc-bin (2.28-10) ...
      Errors were encountered while processing:
       mongodb-org-server
       mongodb-org
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

       

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            chiting.leung@gmail.com Chi Leung
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: