yum update or yum install java-1.8.0-openjdk fails with "Error: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-1.el6_10.x86_64 Requires: pcsc-lite-devel(x86-64)"
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Issue
-
Red Hat Enterprise Linux 6
yum updateoryum install java-1.8.0-openjdkfails with:Error: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-1.el6_10.x86_64 (rhel-6-server-rpms) Requires: pcsc-lite-devel(x86-64) -
Red Hat Enterprise Linux 7
yum updateoryum install java-1.8.0-openjdkfails with:Error: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64 (rhel-7-server-rpms) Requires: pcsc-lite-devel(x86-64)
Resolution
- New Erratas have been released which resolve this issue.
RHEL 7: RHBA-2019:0452 - Bug Fix Advisory
RHEL 6: RHBA-2019:0479 - Bug Fix Advisory
- If you are registered with a local repository, Satellite or RHUI, make sure the content is synced to the latest version.
- For Red Hat Satellite, one should not enable the optional repository. Please see Upgrading Red Hat Satellite 6 fails with dependency error for pcsc-lite-devel package, how to fix it?.
- Clear any existing cache for registered clients and update:
# rm -rf /var/cache/yum/
# yum clean all
Root Cause
java-1.8.0-openjdk-headless-1.8.0.201.b09-1.el6_10was published in RHSA-2019:0416java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6was published in RHSA-2019:0435
Both of the above packages have a new dependency on pcsc-lite-devel.x86-64, which is only supplied through RHEL optional repositories.
SBR
Product(s)
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.