Search code examples
javarhel

Installing OpenJDK 8 on RHEL 7 fails


Running into an issue where a scripted install that used to work started failing with this error.

Error: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64 (rhui-REGION-rhel-server-releases)
Requires: pcsc-lite-devel(x86-64)

I'm guessing that it's a repo hiccup but wondering if there's a fix that I can roll out while we wait for the maintainers to get on this?


Solution

  • Unfortunately, this is a recently introduced packaging bug:

    An erratum for Red Hat Enterprise Linux 7.6 has been released to address the issue:

    You can also work around the problem by temporarily enabling the (nominally unsupported) rhel-7-server-optional-rpms or rhel-7-workstation-optional-rpms channel (depending on the product variant).