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

Typo in dependencies list in RPM config forces to fail installing mongodb enterprise in amazon linux 1

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.12
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      To reproduce the issue you can build the container image below. 

      FROM amazonlinux:1
      RUN echo $'\n\
      [mongodb]\n\
      name=MongoDB Repository\n\
      baseurl=https://repo.mongodb.com/yum/amazon/2013.03/mongodb-enterprise/5.0/x86_64/\n\
      gpgcheck=1\n\
      enabled=1\n\
      gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc' > /etc/yum.repos.d/mongodb.repo
      RUN yum install -y mongodb-enterprise 

      You can also list the dependencies for this file   with

      rpm -qlR ./mongodb-enterprise-database-5.0.10-1.amzn1.x86_64.rpm 

      The list of dependencies is as follows:

      mongodb-enterprise-cryptd
      mongodb-enterprise-mongos
      mongodb-enterprise-server
      mongodb-enterprise-database-tools-extra
      mongodb-enteprise-shell
      rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      rpmlib(CompressedFileNames) <= 3.0.4-1 

      In the above list the dependency mongodb-enteprise-shell  has a typo which fails for mongodb-enterprise package to get installed

       

            Assignee:
            mitch.wagner@mongodb.com Mitch Wagner
            Reporter:
            tural.farhadov@mongodb.com Tural Farhadov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: