Hide Forgot
Description of problem: I am creating a Java container based on the Red Hat Universal Base Image 7. When installing the latest headless OpenJDK package, java-latest-openjdk-headless-15.0.2.0.7-0.rolling.el7.x86_64, the installation fails due to a missing dependency: ---> Package java-latest-openjdk-headless.x86_64 1:15.0.2.0.7-0.rolling.el7 will be installed --> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-latest-openjdk-headless-15.0.2.0.7-0.rolling.el7.x86_64 Error: Package: 1:java-latest-openjdk-headless-15.0.2.0.7-0.rolling.el7.x86_64 (epel) Requires: pcsc-lite-devel(x86-64) The previous version, java-latest-openjdk-headless-15.0.1.9-1.rolling.el7.x86_64, didnt have the problem because it did not depend on pcsc-lite-devel, but on pcsc-lite-libs: ---> Package java-latest-openjdk-headless.x86_64 1:15.0.1.9-1.rolling.el7 will be installed --> Processing Dependency: pcsc-lite-libs(x86-64) for package: 1:java-latest-openjdk-headless-15.0.1.9-1.rolling.el7.x86_64 pcsc-lite-libs is part of the ubi-7 repository. pcsc-lite-devel is only available in the rhel-7-server-optional-rpms repository, which cannot be enabled without violating the ubi terms. How reproducible: Always Steps to Reproduce: 1. podman run --rm -it registry.access.redhat.com/ubi7/ubi bash 2. yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 3. yum install -y java-latest-openjdk-headless Actual results: Installation fails Expected results: Installation succeeds Additional info: A similar issue was flagged for java-1.8.0-openjdk-headless here: https://bugzilla.redhat.com/show_bug.cgi?id=1684077
This is strange. The effort was to move from devel to libs. Will check. Anyway - it is soft dependence (suggests), so you can workaround it anyway.
Originated from https://src.fedoraproject.org/rpms/java-latest-openjdk/c/ff16d76c575bd3e3cd2100dcbf23358d08a01a66?branch=rawhide bad manual merge.
(In reply to jiri vanek from comment #1) > This is strange. The effort was to move from devel to libs. Will check. > Anyway - it is soft dependence (suggests), so you can workaround it anyway. Hi Jiri, thank for looking into this. AFAIK, yum under RHEL7 does not support skipping weak dependencies. Best, Levent
Fixed in rawhide. Will takes some time before it buble to epel7. Thanx a lot for reporting.
(In reply to Levent Demirörs from comment #3) > (In reply to jiri vanek from comment #1) > > This is strange. The effort was to move from devel to libs. Will check. > > Anyway - it is soft dependence (suggests), so you can workaround it anyway. > > Hi Jiri, thank for looking into this. AFAIK, yum under RHEL7 does not > support skipping weak dependencies. > > Best, Levent Yah, sure, you are right. In epel7 there is of course Requires.
(In reply to jiri vanek from comment #4) > Fixed in rawhide. Will takes some time before it buble to epel7. > Thanx a lot for reporting. Brilliant, thank you so much for fixing it!
Hello! You were lucky. There is jdk16 on radar, so I bumped also epel7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-3bcf99274f
FEDORA-EPEL-2021-3bcf99274f has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-3bcf99274f
(In reply to jiri vanek from comment #7) > Hello! You were lucky. There is jdk16 on radar, so I bumped also epel7. > https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-3bcf99274f Very cool! Thanks!
FEDORA-EPEL-2021-3bcf99274f has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-3bcf99274f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
The update does not seem to work: Steps to Reproduce: 1. podman run --rm -it registry.access.redhat.com/ubi7/ubi bash 2. yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 3. yum-config-manager --disable epel 4. yum-config-manager --enable epel-testing 5. yum install -y java-latest-openjdk-headless Actual results: Installation fails Expected results: Installation succeeds Error: ---> Package java-latest-openjdk-headless.x86_64 1:16.0.0.0.36-0.rolling.el7 will be installed --> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-latest-openjdk-headless-16.0.0.0.36-0.rolling.el7.x86_64 Error: Package: 1:java-latest-openjdk-headless-16.0.0.0.36-0.rolling.el7.x86_64 (epel-testing) Requires: pcsc-lite-devel(x86-64) Or am I testing the wrong package?
Indeed! But it was me who pulled wrong NVR to updates!
new update with java-latest-openjdk-16.0.0.0.36-1.rolling.el7 done. Sorry!
(In reply to jiri vanek from comment #13) > new update with java-latest-openjdk-16.0.0.0.36-1.rolling.el7 done. Sorry! No worries. Thank you for your quick reply!
FEDORA-EPEL-2021-1bcc4b39f4 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-1bcc4b39f4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2021-1bcc4b39f4 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.