• None
    • Low
    • sst_java
    • None
    • None
    • CentOS Stream
    • None
    • None
    • None
    • x86_64
    • None

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

      I wanted to install java-21-openjdk-devel. Java openjdk 18 is installed instead.

      Please provide the package NVR for which bug is seen:

      Not sure what "NVR" is, when I issue dnf info java-21-openjdk-devel I see this:

      Last metadata expiration check: 1:54:15 ago on Thu 13 Jun 2024 02:10:18 PM EDT.
      Available Packages
      Name         : java-21-openjdk-devel
      Epoch        : 1
      Version      : 18.0.2.0.9
      Release      : 1.el9
      Architecture : x86_64
      Size         : 4.8 M
      Source       : java-21-openjdk-18.0.2.0.9-1.el9.src.rpm
      Repository   : appstream
      Summary      : OpenJDK 18 Development Environment
      URL          : http://openjdk.java.net/
      License      : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib and ISC and FTL and RSA
      Description  : The OpenJDK 18 development tools.

      How reproducible:

      Each of my CentOS Stream 9 machines (7 total) show the same results before and after a dnf update.

      Steps to reproduce

      1. dnf install java-21-openjdk-devel
      2. java --version
        1. openjdk 18.0.2 2022-07-19 LTS
          OpenJDK Runtime Environment (Red_Hat-18.0.2.0.9-2) (build 18.0.2+9-LTS)
          OpenJDK 64-Bit Server VM (Red_Hat-18.0.2.0.9-2) (build 18.0.2+9-LTS, mixed mode, sharing)
      3. javac --version
        1. javac 18.0.2

      Expected results

      Java openjdk 21 development package to be installed.

      Actual results

      Java openjdk 18 development package is installed.

            rhn-engineering-ahughes Andrew Hughes
            j-garmatter Jeremiah Garmatter (Inactive)
            Andrew Hughes Andrew Hughes
            David Kutalek David Kutalek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: