Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-2113

dnf install /usr/bin/python3 installs 3.11 instead of 3.6

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-8.10
    • rhel-8.8.0
    • python36
    • None
    • rhel-pt-python
    • ssg_core_services
    • 16
    • 21
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Whan you install `/usr/bin/python3` and you don't have any other Python installed yet, dnf prefers python3.11 over python3.6.

      How reproducible:

      Allways.

      Steps to reproduce

      1. dnf remove python3{6,8,9,.11}
      2. dnf install /usr/bin/python3

      Expected results

      python36 - the main one with the longest support installed.

      Actual results

      python3.11 is installed.

       

      For some reason, when all Pythons were modular (3.6, 3.8, and 3.9) dnf chose python36 package even though all of them provide `/usr/bin/python3`. Now, when python3.11 is not modular, it seems to have higher priority for dnf.

              python-maint python-maint
              lbalhar@redhat.com Lumir Balhar
              Lumir Balhar Lumir Balhar
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: