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

Platform Support: add Amazon Linux 2

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4, 3.6.22
    • Affects Version/s: None
    • Component/s: Packaging
    • None
    • Fully Compatible
    • v3.6
    • Build 2018-04-09
    • 0
    • 8

      On December 13th, Amazon released Amazon Linux 2. The installation of our current package for AMZL fails:

      [ec2-user@ip-172-31-32-108 ~]$ sudo yum install -y mongodb-enterprise
      Loaded plugins: langpacks, update-motd
      amzn2-core                                                                                                                                                                                               | 2.0 kB  00:00:00     
      https://repo.mongodb.com/yum/redhat/2017.12/mongodb-enterprise/3.6/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
      Trying other mirror.
      Resolving Dependencies
      --> Running transaction check
      ---> Package mongodb-enterprise.x86_64 0:3.6.0-1.amzn1 will be installed
      --> Processing Dependency: mongodb-enterprise-tools = 3.6.0 for package: mongodb-enterprise-3.6.0-1.amzn1.x86_64
      --> Processing Dependency: mongodb-enterprise-shell = 3.6.0 for package: mongodb-enterprise-3.6.0-1.amzn1.x86_64
      --> Processing Dependency: mongodb-enterprise-server = 3.6.0 for package: mongodb-enterprise-3.6.0-1.amzn1.x86_64
      --> Processing Dependency: mongodb-enterprise-mongos = 3.6.0 for package: mongodb-enterprise-3.6.0-1.amzn1.x86_64
      --> Running transaction check
      ---> Package mongodb-enterprise-mongos.x86_64 0:3.6.0-1.amzn1 will be installed
      --> Processing Dependency: libsasl2.so.2()(64bit) for package: mongodb-enterprise-mongos-3.6.0-1.amzn1.x86_64
      ---> Package mongodb-enterprise-server.x86_64 0:3.6.0-1.amzn1 will be installed
      --> Processing Dependency: libsasl2.so.2()(64bit) for package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64
      --> Processing Dependency: libnetsnmpmibs.so.20()(64bit) for package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64
      --> Processing Dependency: libnetsnmphelpers.so.20()(64bit) for package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64
      --> Processing Dependency: libnetsnmpagent.so.20()(64bit) for package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64
      --> Processing Dependency: libnetsnmp.so.20()(64bit) for package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64
      ---> Package mongodb-enterprise-shell.x86_64 0:3.6.0-1.amzn1 will be installed
      --> Processing Dependency: libsasl2.so.2()(64bit) for package: mongodb-enterprise-shell-3.6.0-1.amzn1.x86_64
      ---> Package mongodb-enterprise-tools.x86_64 0:3.6.0-1.amzn1 will be installed
      --> Processing Dependency: libsasl2.so.2()(64bit) for package: mongodb-enterprise-tools-3.6.0-1.amzn1.x86_64
      --> Finished Dependency Resolution
      Error: Package: mongodb-enterprise-mongos-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libsasl2.so.2()(64bit)
      Error: Package: mongodb-enterprise-shell-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libsasl2.so.2()(64bit)
      Error: Package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libnetsnmpmibs.so.20()(64bit)
      Error: Package: mongodb-enterprise-tools-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libsasl2.so.2()(64bit)
      Error: Package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libnetsnmpagent.so.20()(64bit)
      Error: Package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libnetsnmphelpers.so.20()(64bit)
      Error: Package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libnetsnmp.so.20()(64bit)
      Error: Package: mongodb-enterprise-server-3.6.0-1.amzn1.x86_64 (mongodb-enterprise)
                 Requires: libsasl2.so.2()(64bit)
       You could try using --skip-broken to work around the problem
       You could try running: rpm -Va --nofiles --nodigest
      

      I guess the missing dependencies could be manually added but still, Amazon Linux 2 is not officially supported at the moment

            Assignee:
            zakhar.kleyman@mongodb.com Zakhar Kleyman
            Reporter:
            davenson.lombard@mongodb.com Davenson Lombard
            Votes:
            2 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: