geerlingguy/ansible-role-java

RHEL 6 & 7: 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)

jamiejackson opened this issue · 2 comments

FYI: https://access.redhat.com/solutions/3949501

TASK [geerlingguy.java : Ensure Java is installed.] ****************************
fatal: [docker-host]: FAILED! => {"changed": false, "msg": "Error: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64 (rhel-7-server-rpms)\n           Requires: pcsc-lite-devel(x86-64)\n", "rc": 1, "results": ["Loaded plugins: product-id, search-disabled-repos, subscription-manager\nResolving Dependencies\n--> Running transaction check\n---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.201.b09-0.el7_6 will be installed\n--> Processing Dependency: java-1.8.0-openjdk-headless(x86-64) = 1:1.8.0.201.b09-0.el7_6 for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: fontconfig(x86-64) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: gtk2(x86-64) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libXcomposite(x86-64) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libjava.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libjvm.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libasound.so.2()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libjava.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libjpeg.so.62()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libjvm.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: libpng15.so.15()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.201.b09-0.el7_6.x86_64\n--> Running transaction check\n---> Package alsa-lib.x86_64 0:1.1.6-2.el7 will be installed\n---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed\n--> Processing Dependency: freetype >= 2.8-7 for package: fontconfig-2.13.0-4.3.el7.x86_64\n--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64\n--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64\n---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed\n--> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64\n--> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64\n---> Package gtk2.x86_64 0:2.24.31-1.el7 will be installed\n--> Processing Dependency: atk >= 1.29.4-2 for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libXrandr >= 1.2.99.4-2 for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libtiff >= 3.6.1 for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: pango >= 1.20.0-1 for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: gtk-update-icon-cache for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: hicolor-icon-theme for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libXcursor.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libXdamage.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libXfixes.so.3()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libXinerama.so.1()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libXrandr.so.2()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libatk-1.0.so.0()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libcairo.so.2()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libcups.so.2()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libgdk_pixbuf-2.0.so.0()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libpango-1.0.so.0()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libpangocairo-1.0.so.0()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n--> Processing Dependency: libpangoft2-1.0.so.0()(64bit) for package: gtk2-2.24.31-1.el7.x86_64\n---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.201.b09-0.el7_6 will be installed\n--> Processing Dependency: copy-jdk-configs >= 3.3 for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: nss(x86-64) >= 3.36.0 for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: nss-softokn(x86-64) >= 3.36.0 for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: tzdata-java >= 2015d for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: jpackage-utils for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: lksctp-tools(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n--> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n---> Package libX11.x86_64 0:1.6.5-2.el7 will be installed\n--> Processing Dependency: libX11-common >= 1.6.5-2.el7 for package: libX11-1.6.5-2.el7.x86_64\n--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.5-2.el7.x86_64\n---> Package libXcomposite.x86_64 0:0.4.4-4.1.el7 will be installed\n---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed\n---> Package libXi.x86_64 0:1.7.9-1.el7 will be installed\n---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed\n---> Package libXtst.x86_64 0:1.2.3-1.el7 will be installed\n---> Package libjpeg-turbo.x86_64 0:1.2.90-6.el7 will be installed\n---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed\n---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed\n--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch\n--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch\n--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch\n--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch\n--> Running transaction check\n---> Package atk.x86_64 0:2.28.1-1.el7 will be installed\n---> Package cairo.x86_64 0:1.15.12-3.el7 will be installed\n--> Processing Dependency: libEGL.so.1()(64bit) for package: cairo-1.15.12-3.el7.x86_64\n--> Processing Dependency: libGL.so.1()(64bit) for package: cairo-1.15.12-3.el7.x86_64\n--> Processing Dependency: libpixman-1.so.0()(64bit) for package: cairo-1.15.12-3.el7.x86_64\n---> Package copy-jdk-configs.noarch 0:3.3-10.el7_5 will be installed\n---> Package cups-libs.x86_64 1:1.6.3-35.el7 will be installed\n--> Processing Dependency: libavahi-client.so.3()(64bit) for package: 1:cups-libs-1.6.3-35.el7.x86_64\n--> Processing Dependency: libavahi-common.so.3()(64bit) for package: 1:cups-libs-1.6.3-35.el7.x86_64\n---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed\n--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch\n---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed\n---> Package freetype.x86_64 0:2.4.11-15.el7 will be updated\n---> Package freetype.x86_64 0:2.8-12.el7_6.1 will be an update\n---> Package gdk-pixbuf2.x86_64 0:2.36.12-3.el7 will be installed\n--> Processing Dependency: libjasper.so.1()(64bit) for package: gdk-pixbuf2-2.36.12-3.el7.x86_64\n---> Package gtk-update-icon-cache.x86_64 0:3.22.30-3.el7 will be installed\n---> Package hicolor-icon-theme.noarch 0:0.12-7.el7 will be installed\n---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.201.b09-0.el7_6 will be installed\n--> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n---> Package javapackages-tools.noarch 0:3.4.1-11.el7 will be installed\n--> Processing Dependency: python-javapackages = 3.4.1-11.el7 for package: javapackages-tools-3.4.1-11.el7.noarch\n---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed\n---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed\n---> Package libX11-common.noarch 0:1.6.5-2.el7 will be installed\n---> Package libXcursor.x86_64 0:1.1.15-1.el7 will be installed\n---> Package libXdamage.x86_64 0:1.1.4-4.1.el7 will be installed\n---> Package libXfixes.x86_64 0:5.0.3-1.el7 will be installed\n---> Package libXinerama.x86_64 0:1.1.3-2.1.el7 will be installed\n---> Package libXrandr.x86_64 0:1.5.1-2.el7 will be installed\n---> Package libtiff.x86_64 0:4.0.3-27.el7_3 will be installed\n--> Processing Dependency: libjbig.so.2.0()(64bit) for package: libtiff-4.0.3-27.el7_3.x86_64\n---> Package libxcb.x86_64 0:1.13-1.el7 will be installed\n--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64\n---> Package lksctp-tools.x86_64 0:1.0.17-2.el7 will be installed\n---> Package nss.x86_64 0:3.34.0-4.el7 will be updated\n--> Processing Dependency: nss = 3.34.0-4.el7 for package: nss-sysinit-3.34.0-4.el7.x86_64\n--> Processing Dependency: nss(x86-64) = 3.34.0-4.el7 for package: nss-tools-3.34.0-4.el7.x86_64\n---> Package nss.x86_64 0:3.36.0-7.1.el7_6 will be an update\n--> Processing Dependency: nspr >= 4.19.0 for package: nss-3.36.0-7.1.el7_6.x86_64\n--> Processing Dependency: nss-util >= 3.36.0-1.1 for package: nss-3.36.0-7.1.el7_6.x86_64\n---> Package nss-softokn.x86_64 0:3.34.0-2.el7 will be updated\n---> Package nss-softokn.x86_64 0:3.36.0-5.el7_5 will be an update\n--> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.36.0-5.el7_5 for package: nss-softokn-3.36.0-5.el7_5.x86_64\n---> Package pango.x86_64 0:1.42.4-1.el7 will be installed\n--> Processing Dependency: fribidi(x86-64) >= 1.0 for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: harfbuzz(x86-64) >= 1.4.2 for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: libXft(x86-64) >= 2.0.0 for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: libthai(x86-64) >= 0.1.9 for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: libthai.so.0(LIBTHAI_0.1)(64bit) for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: libXft.so.2()(64bit) for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: libfribidi.so.0()(64bit) for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: libharfbuzz.so.0()(64bit) for package: pango-1.42.4-1.el7.x86_64\n--> Processing Dependency: libthai.so.0()(64bit) for package: pango-1.42.4-1.el7.x86_64\n---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed\n---> Package tzdata-java.noarch 0:2018i-1.el7 will be installed\n---> Package xorg-x11-font-utils.x86_64 1:7.5-21.el7 will be installed\n--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-21.el7.x86_64\n--> Running transaction check\n---> Package avahi-libs.x86_64 0:0.6.31-19.el7 will be installed\n---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed\n---> Package fribidi.x86_64 0:1.0.2-1.el7 will be installed\n---> Package harfbuzz.x86_64 0:1.7.5-2.el7 will be installed\n--> Processing Dependency: libgraphite2.so.3()(64bit) for package: harfbuzz-1.7.5-2.el7.x86_64\n---> Package jasper-libs.x86_64 0:1.900.1-33.el7 will be installed\n---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.201.b09-0.el7_6 will be installed\n--> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n---> Package jbigkit-libs.x86_64 0:2.0-11.el7 will be installed\n---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed\n---> Package libXft.x86_64 0:2.3.2-2.el7 will be installed\n---> Package libfontenc.x86_64 0:1.1.3-3.el7 will be installed\n---> Package libglvnd-egl.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed\n--> Processing Dependency: libglvnd(x86-64) = 1:1.0.1-0.8.git5baa1e5.el7 for package: 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64\n--> Processing Dependency: mesa-libEGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64\n--> Processing Dependency: libGLdispatch.so.0()(64bit) for package: 1:libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64\n---> Package libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed\n--> Processing Dependency: mesa-libGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64\n---> Package libthai.x86_64 0:0.1.14-9.el7 will be installed\n---> Package nspr.x86_64 0:4.17.0-1.el7 will be updated\n---> Package nspr.x86_64 0:4.19.0-1.el7_5 will be an update\n---> Package nss-softokn-freebl.x86_64 0:3.34.0-2.el7 will be updated\n---> Package nss-softokn-freebl.x86_64 0:3.36.0-5.el7_5 will be an update\n---> Package nss-sysinit.x86_64 0:3.34.0-4.el7 will be updated\n---> Package nss-sysinit.x86_64 0:3.36.0-7.1.el7_6 will be an update\n---> Package nss-tools.x86_64 0:3.34.0-4.el7 will be updated\n---> Package nss-tools.x86_64 0:3.36.0-7.1.el7_6 will be an update\n---> Package nss-util.x86_64 0:3.34.0-2.el7 will be updated\n---> Package nss-util.x86_64 0:3.36.0-1.1.el7_6 will be an update\n---> Package pixman.x86_64 0:0.34.0-1.el7 will be installed\n---> Package python-javapackages.noarch 0:3.4.1-11.el7 will be installed\n--> Running transaction check\n---> Package graphite2.x86_64 0:1.3.10-1.el7_3 will be installed\n---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.201.b09-0.el7_6 will be installed\n--> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n---> Package libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed\n---> Package mesa-libEGL.x86_64 0:18.0.5-4.el7_6 will be installed\n--> Processing Dependency: mesa-libgbm = 18.0.5-4.el7_6 for package: mesa-libEGL-18.0.5-4.el7_6.x86_64\n--> Processing Dependency: libgbm.so.1()(64bit) for package: mesa-libEGL-18.0.5-4.el7_6.x86_64\n--> Processing Dependency: libglapi.so.0()(64bit) for package: mesa-libEGL-18.0.5-4.el7_6.x86_64\n--> Processing Dependency: libwayland-client.so.0()(64bit) for package: mesa-libEGL-18.0.5-4.el7_6.x86_64\n--> Processing Dependency: libwayland-server.so.0()(64bit) for package: mesa-libEGL-18.0.5-4.el7_6.x86_64\n--> Processing Dependency: libxshmfence.so.1()(64bit) for package: mesa-libEGL-18.0.5-4.el7_6.x86_64\n---> Package mesa-libGL.x86_64 0:18.0.5-4.el7_6 will be installed\n--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: mesa-libGL-18.0.5-4.el7_6.x86_64\n--> Running transaction check\n---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.201.b09-0.el7_6 will be installed\n--> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64\n---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed\n---> Package libwayland-client.x86_64 0:1.15.0-1.el7 will be installed\n---> Package libwayland-server.x86_64 0:1.15.0-1.el7 will be installed\n---> Package libxshmfence.x86_64 0:1.2-1.el7 will be installed\n---> Package mesa-libgbm.x86_64 0:18.0.5-4.el7_6 will be installed\n---> Package mesa-libglapi.x86_64 0:18.0.5-4.el7_6 will be installed\n--> Finished Dependency Resolution\nError: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64 (rhel-7-server-rpms)\n           Requires: pcsc-lite-devel(x86-64)\n**********************************************************************\nyum can be configured to try to resolve such errors by temporarily enabling\ndisabled repos and searching for missing dependencies.\nTo enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf\n**********************************************************************\n\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n"]}
	to retry, use: --limit @/vagrant/ansible/playbook.retry

I manually worked around it for now per the KB article:

sudo subscription-manager repos --enable=rhel-7-server-optional-rpms
sudo yum install java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64
stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale commented

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.