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

Mongodb 3.6.17 package asks for Python2 as dependency

    XMLWordPrintable

Details

    • Question
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      Problem Statement/Rationale

      As per the heading in our environment we have Python3 deployed but when we tried to install mongo 3.6.17 it fails with the following error message

      [root@vm01 ~]# yum install mongodb-org
      Repository 'Custom-Repository' is missing name in configuration, using id.
      Repository 'updates' is missing name in configuration, using id.
      Custom-Repository 77 MB/s | 1.0 MB 00:00
      Last metadata expiration check: 0:00:01 ago on Mon 12 Jul 2021 09:42:33 AM UTC.
      Error:
      Problem: package mongodb-org-3.6.17-1.el8.x86_64 requires mongodb-org-server = 3.6.17, but none of the providers can be installed

      • conflicting requests
      • nothing provides python2 needed by mongodb-org-server-3.6.17-1.el8.x86_64
        (try to add '-skip-broken' to skip uninstallable packages or '-nobest' to use not only best candidate packages)

      Is there any specific reason why the mongo package is looking for python2 and not use Python3. We know that mongo 3.6 is EOL and we also verified that mongo works with 4.x on Python3 systems. This is a specific case where we need mongo 3.6 to work on Python3 systems , so please let us know if this version compatibility works properly

      [root@vm01 ~]# python3 --version
      Python 3.6.8

      Thanks and Regards,
      Azhar

      Steps to Reproduce

      Try to install mongo 3.6.17 on Python3 deployed systems

      Expected Results

      Mongo 3.6.17 should install properly on Python3 systems

      Actual Results

      Mongodb is not installing and its asking for Python2 as a dependency package

      Additional Notes

      Any additional information that may be useful to include.

      Attachments

        Activity

          People

            edwin.zhou@mongodb.com Edwin Zhou
            rizwiazhar@gmail.com Azhar Yousuf
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: