Skip to content

Jenkins 2.545 AlmaLinux package forces Java 17 dependency, breaks startup requiring Java 21 #729

Description

@frankspiegel-coder

Describe the bug:
After dnf update on AlmaLinux, Jenkins upgraded to 2.545-1.noarch but the package has a hard dependency pulling in java-17-openjdk (version 17.0.17.0.10-1.el9.alma.1). Jenkins now fails to start with "requires Java 21 or newer" due to PR jenkinsci/jenkins#26018 changes. Cannot remove Java 17 due to strong package dependency. Only solution is dnf downgrade jenkins-2.544.

Expected behavior:
Jenkins RPM should either:

  1. Depend on java-21-openjdk instead of Java 17, or
  2. Have no Java dependency (user-provided as documented)

System details:

Steps to reproduce:

  1. dnf install jenkins
  2. dnf update
  3. systemctl start jenkins → fails

Workaround (unsustainable):
dnf downgrade jenkins-2.544

Packaging issue: AlmaLinux Jenkins repo needs update to match Java 21 requirement from PR jenkinsci/jenkins#26018. Current package violates Jenkins support policy.

Related: jenkinsci/jenkins#26039 (revert issue)

Metadata

Metadata

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions