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

mongodb-enterprise package for rhel 7 enterprise 4.2 is broken due to the dependency problem

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

      Error: Package: mongodb-enterprise-4.2.23-1.el7.x86_64 (mongodb)
                 Requires: mongodb-enterprise-tools = 4.2.23
                 Available: mongodb-enterprise-tools-4.2.6-1.el7.x86_64 (mongodb)
                     mongodb-enterprise-tools = 4.2.6-1.el7

      You can reproduce by building this docker image:

      FROM artifactory.corp.mongodb.com/release-tools-container-registry-virtual/rhel7/rhel
      RUN echo $'\n\
      [mongodb]\n\
      name=MongoDB Repository\n\
      baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/4.2/x86_64/\n\
      gpgcheck=1\n\
      enabled=1\n\
      gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc' > /etc/yum.repos.d/mongodb.repo
      RUN bash -c $'\n\
      subscription-manager register --username <rheluser> --password <rhelpwd> --auto-attach \n\
      yum install -y mongodb-enterprise\n\
      exit_code=$? \n\
      subscription-manager remove --all \n\
      subscription-manager unregister \n\
      exit $exit_code \n\
      ' 

      Change the rheuser and rhelpwd with credentials to be able to build that image.

            Assignee:
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Reporter:
            tural.farhadov@mongodb.com Tural Farhadov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: