Bug 2098093
| Summary: | Unable to install redhat-rpm-config in UBI 8 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | vn71 <vijeyanidhi> |
| Component: | ubi8-minimal-container | Assignee: | Jindrich Novy <jnovy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | codonell, fberat, fweimer, jwboyer, ruckc |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-17 18:42:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
vn71
2022-06-17 08:53:27 UTC
if we do not update then we can install the redhat-rpm-config package but we can not install gcc-c++ package. The following error will be thrown when trying to install it #8 [5/6] RUN microdnf install -y --setopt=tsflags=nodocs gcc-c++ #8 sha256:94e017f0ff2b976bcfe065b7fe916b6574a2f4ae4cc41ee899c77c69e5ec3dc0 #8 0.297 #8 0.297 (microdnf:1): librhsm-WARNING **: 08:59:17.987: Found 0 entitlement certificates #8 0.297 #8 0.297 (microdnf:1): librhsm-WARNING **: 08:59:17.989: Found 0 entitlement certificates #8 0.475 error: Could not depsolve transaction; 1 problem detected: #8 0.475 Problem: problem with installed package glibc-gconv-extra-2.28-189.1.el8.x86_64 #8 0.475 - package glibc-gconv-extra-2.28-189.1.el8.x86_64 requires glibc(x86-64) = 2.28-189.1.el8, but none of the providers can be installed #8 0.475 - cannot install both glibc-2.28-189.5.el8_6.x86_64 and glibc-2.28-189.1.el8.x86_64 #8 0.475 - package gcc-8.5.0-10.el8.x86_64 requires glibc-devel >= 2.2.90-12, but none of the providers can be installed #8 0.475 - package glibc-devel-2.28-189.5.el8_6.x86_64 requires glibc = 2.28-189.5.el8_6, but none of the providers can be installed #8 0.475 - package glibc-devel-2.28-189.5.el8_6.i686 requires glibc = 2.28-189.5.el8_6, but none of the providers can be installed #8 0.475 - glibc-2.28-189.5.el8_6.i686 has inferior architecture #8 0.475 - package gcc-c++-8.5.0-10.el8.x86_64 requires gcc = 8.5.0-10.el8, but none of the providers can be installed #8 0.475 - conflicting requests #8 ERROR: executor failed running [/bin/sh -c microdnf install -y --setopt=tsflags=nodocs gcc-c++]: exit code: 1 Docker file FROM registry.redhat.io/ubi8/ubi-minimal:latest USER root RUN : '[INFO] Install Ruby' \ && microdnf module enable ruby:3.0 \ && RUNTIME_PKGS="ruby gnupg curl jq ca-certificates" \ && microdnf install -y --setopt=tsflags=nodocs $RUNTIME_PKGS RUN microdnf install -y --setopt=tsflags=nodocs ruby-devel RUN microdnf install -y --setopt=tsflags=nodocs make RUN microdnf install -y --setopt=tsflags=nodocs gcc-c++ RUN microdnf install -y --setopt=tsflags=nodocs redhat-rpm-config Output: #1 [internal] load build definition from Dockerfile #1 sha256:8ffccab25f0a131a36f1ee908d597db3bf9dbbeef23b263cc73342900fb31896 #1 transferring dockerfile: 977B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:64cbd80b6baf3eadc8dad4ef49e60998c1ceaf23889d455883ee7b9ea13a0988 #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for registry.redhat.io/ubi8/ubi-minimal:latest #3 sha256:bc9271dab19745246eea2342b9d35de39d66dadec7dc6377b3ec1fe849bb9e88 #3 DONE 1.0s #4 [1/6] FROM registry.redhat.io/ubi8/ubi-minimal:latest@sha256:092b22668eea6ee9a3e4d4819def8b869482b48707d5f99504b8aca12e217b71 #4 sha256:e39e8d9e4d0e3acd4d286ec1c8aff6d11513deb45543dab52bbff195856d05a8 #4 CACHED #5 [2/6] RUN : '[INFO] Install Ruby' && microdnf module enable ruby:3.0 && RUNTIME_PKGS="ruby gnupg curl jq ca-certificates" && microdnf install -y --setopt=tsflags=nodocs $RUNTIME_PKGS #5 sha256:c8bcd8d5ce90ae9ea1d0f78cb7e96c08abc6738c9aeb4ecaa5b943cee06926b5 #5 0.255 #5 0.255 (microdnf:8): librhsm-WARNING **: 08:59:07.816: Found 0 entitlement certificates #5 0.256 #5 0.256 (microdnf:8): librhsm-WARNING **: 08:59:07.817: Found 0 entitlement certificates #5 0.315 Downloading metadata... #5 1.998 Downloading metadata... #5 3.640 Downloading metadata... #5 4.020 Enabling module streams: #5 4.020 ruby:3.0 #5 4.020 #5 4.020 #5 4.021 Running transaction test... #5 4.073 #5 4.073 (microdnf:1): librhsm-WARNING **: 08:59:11.633: Found 0 entitlement certificates #5 4.074 #5 4.074 (microdnf:1): librhsm-WARNING **: 08:59:11.634: Found 0 entitlement certificates #5 4.230 Package Repository Size #5 4.230 Installing: #5 4.230 gdbm-libs-1:1.18-1.el8.x86_64 ubi-8-baseos 62.0 kB #5 4.230 jq-1.6-3.el8.x86_64 ubi-8-appstream 206.9 kB #5 4.230 oniguruma-6.8.2-2.el8.x86_64 ubi-8-appstream 191.9 kB #5 4.230 ruby-3.0.2-140.module+el8.5.0+12856+0c654ebc.x86_64 ubi-8-appstream 91.3 kB #5 4.230 ruby-default-gems-3.0.2-140.module+el8.5.0+12856+0c654ebc.noarch ubi-8-appstream 82.5 kB #5 4.230 ruby-libs-3.0.2-140.module+el8.5.0+12856+0c654ebc.x86_64 ubi-8-appstream 3.4 MB #5 4.230 rubygem-bigdecimal-3.0.0-140.module+el8.5.0+12856+0c654ebc.x86_64 ubi-8-appstream 104.6 kB #5 4.230 rubygem-bundler-2.2.22-140.module+el8.5.0+12856+0c654ebc.noarch ubi-8-appstream 455.0 kB #5 4.230 rubygem-io-console-0.5.7-140.module+el8.5.0+12856+0c654ebc.x86_64 ubi-8-appstream 74.4 kB #5 4.230 rubygem-json-2.5.1-140.module+el8.5.0+12856+0c654ebc.x86_64 ubi-8-appstream 103.0 kB #5 4.230 rubygem-psych-3.3.0-140.module+el8.5.0+12856+0c654ebc.x86_64 ubi-8-appstream 101.5 kB #5 4.230 rubygem-rdoc-6.3.1-140.module+el8.5.0+12856+0c654ebc.noarch ubi-8-appstream 470.6 kB #5 4.230 rubygems-3.2.22-140.module+el8.5.0+12856+0c654ebc.noarch ubi-8-appstream 326.6 kB #5 4.230 Transaction Summary: #5 4.230 Installing: 13 packages #5 4.230 Reinstalling: 0 packages #5 4.230 Upgrading: 0 packages #5 4.230 Obsoleting: 0 packages #5 4.230 Removing: 0 packages #5 4.230 Downgrading: 0 packages #5 4.231 Downloading packages... #5 5.956 Running transaction test... #5 6.079 Installing: oniguruma;6.8.2-2.el8;x86_64;ubi-8-appstream #5 6.116 Installing: gdbm-libs;1:1.18-1.el8;x86_64;ubi-8-baseos #5 6.130 Installing: ruby-libs;3.0.2-140.module+el8.5.0+12856+0c654ebc;x86_64;ubi-8-appstream #5 6.543 Installing: rubygem-psych;3.3.0-140.module+el8.5.0+12856+0c654ebc;x86_64;ubi-8-appstream #5 6.562 Installing: rubygem-json;2.5.1-140.module+el8.5.0+12856+0c654ebc;x86_64;ubi-8-appstream #5 6.576 Installing: rubygem-bigdecimal;3.0.0-140.module+el8.5.0+12856+0c654ebc;x86_64;ubi-8-appstream #5 6.590 Installing: ruby;3.0.2-140.module+el8.5.0+12856+0c654ebc;x86_64;ubi-8-appstream #5 6.603 Installing: rubygem-rdoc;6.3.1-140.module+el8.5.0+12856+0c654ebc;noarch;ubi-8-appstream #5 6.679 Installing: ruby-default-gems;3.0.2-140.module+el8.5.0+12856+0c654ebc;noarch;ubi-8-appstream #5 6.704 Installing: rubygem-io-console;0.5.7-140.module+el8.5.0+12856+0c654ebc;x86_64;ubi-8-appstream #5 6.718 Installing: rubygems;3.2.22-140.module+el8.5.0+12856+0c654ebc;noarch;ubi-8-appstream #5 6.791 Installing: rubygem-bundler;2.2.22-140.module+el8.5.0+12856+0c654ebc;noarch;ubi-8-appstream #5 6.907 Installing: jq;1.6-3.el8;x86_64;ubi-8-appstream #5 6.974 Complete. #5 DONE 7.0s #6 [3/6] RUN microdnf install -y --setopt=tsflags=nodocs ruby-devel #6 sha256:f50bf3888c893db51dc4cd64198e086c600cc8567e96477a1caac34b74aec0ed #6 0.282 #6 0.282 (microdnf:1): librhsm-WARNING **: 08:59:14.894: Found 0 entitlement certificates #6 0.284 #6 0.284 (microdnf:1): librhsm-WARNING **: 08:59:14.896: Found 0 entitlement certificates #6 0.475 Package Repository Size #6 0.475 Installing: #6 0.475 dwz-0.12-10.el8.x86_64 ubi-8-appstream 111.4 kB #6 0.475 efi-srpm-macros-3-3.el8.noarch ubi-8-appstream 22.8 kB #6 0.475 file-5.33-20.el8.x86_64 ubi-8-baseos 78.6 kB #6 0.475 findutils-1:4.6.0-20.el8.x86_64 ubi-8-baseos 540.8 kB #6 0.475 ghc-srpm-macros-1.4.2-7.el8.noarch ubi-8-appstream 9.6 kB #6 0.475 glibc-gconv-extra-2.28-189.1.el8.x86_64 ubi-8-appstream 1.6 MB #6 0.475 go-srpm-macros-2-17.el8.noarch ubi-8-appstream 12.9 kB #6 0.475 libpkgconf-1.4.2-1.el8.x86_64 ubi-8-baseos 35.6 kB #6 0.475 ocaml-srpm-macros-5-4.el8.noarch ubi-8-appstream 9.7 kB #6 0.475 openblas-srpm-macros-2-2.el8.noarch ubi-8-appstream 8.2 kB #6 0.475 perl-srpm-macros-1-25.el8.noarch ubi-8-appstream 11.1 kB #6 0.475 pkgconf-1.4.2-1.el8.x86_64 ubi-8-baseos 39.0 kB #6 0.475 pkgconf-m4-1.4.2-1.el8.noarch ubi-8-baseos 17.5 kB #6 0.475 pkgconf-pkg-config-1.4.2-1.el8.x86_64 ubi-8-baseos 15.6 kB #6 0.475 python-rpm-macros-3-41.el8.noarch ubi-8-appstream 15.4 kB #6 0.475 python-srpm-macros-3-41.el8.noarch ubi-8-appstream 14.9 kB #6 0.475 python3-rpm-macros-3-41.el8.noarch ubi-8-appstream 14.7 kB #6 0.475 qt5-srpm-macros-5.15.2-1.el8.noarch ubi-8-appstream 10.8 kB #6 0.475 redhat-rpm-config-129-1.el8.noarch ubi-8-appstream 90.0 kB #6 0.475 ruby-devel-3.0.2-140.module+el8.5.0+12856+0c654ebc.x86_64 ubi-8-appstream 344.4 kB #6 0.475 rust-srpm-macros-5-2.el8.noarch ubi-8-appstream 9.5 kB #6 0.475 unzip-6.0-46.el8.x86_64 ubi-8-baseos 200.6 kB #6 0.475 zip-3.0-23.el8.x86_64 ubi-8-baseos 276.8 kB #6 0.475 Transaction Summary: #6 0.475 Installing: 23 packages #6 0.475 Reinstalling: 0 packages #6 0.475 Upgrading: 0 packages #6 0.475 Obsoleting: 0 packages #6 0.475 Removing: 0 packages #6 0.475 Downgrading: 0 packages #6 0.477 Downloading packages... #6 1.478 Running transaction test... #6 1.619 Installing: python-srpm-macros;3-41.el8;noarch;ubi-8-appstream #6 1.626 Installing: python-rpm-macros;3-41.el8;noarch;ubi-8-appstream #6 1.633 Installing: python3-rpm-macros;3-41.el8;noarch;ubi-8-appstream #6 1.641 Installing: glibc-gconv-extra;2.28-189.1.el8;x86_64;ubi-8-appstream #6 1.884 Installing: dwz;0.12-10.el8;x86_64;ubi-8-appstream #6 1.909 Installing: efi-srpm-macros;3-3.el8;noarch;ubi-8-appstream #6 1.924 Installing: perl-srpm-macros;1-25.el8;noarch;ubi-8-appstream #6 1.938 Installing: openblas-srpm-macros;2-2.el8;noarch;ubi-8-appstream #6 1.948 Installing: qt5-srpm-macros;5.15.2-1.el8;noarch;ubi-8-appstream #6 1.958 Installing: go-srpm-macros;2-17.el8;noarch;ubi-8-appstream #6 1.967 Installing: ghc-srpm-macros;1.4.2-7.el8;noarch;ubi-8-appstream #6 1.975 Installing: ocaml-srpm-macros;5-4.el8;noarch;ubi-8-appstream #6 1.982 Installing: rust-srpm-macros;5-2.el8;noarch;ubi-8-appstream #6 1.991 Installing: unzip;6.0-46.el8;x86_64;ubi-8-baseos #6 2.016 Installing: zip;3.0-23.el8;x86_64;ubi-8-baseos #6 2.049 Installing: file;5.33-20.el8;x86_64;ubi-8-baseos #6 2.062 Installing: findutils;1:4.6.0-20.el8;x86_64;ubi-8-baseos #6 2.117 Installing: redhat-rpm-config;129-1.el8;noarch;ubi-8-appstream #6 2.132 Installing: pkgconf-m4;1.4.2-1.el8;noarch;ubi-8-baseos #6 2.141 Installing: libpkgconf;1.4.2-1.el8;x86_64;ubi-8-baseos #6 2.151 Installing: pkgconf;1.4.2-1.el8;x86_64;ubi-8-baseos #6 2.162 Installing: pkgconf-pkg-config;1.4.2-1.el8;x86_64;ubi-8-baseos #6 2.172 Installing: ruby-devel;3.0.2-140.module+el8.5.0+12856+0c654ebc;x86_64;ubi-8-appstream #6 2.268 Complete. #6 DONE 2.3s #7 [4/6] RUN microdnf install -y --setopt=tsflags=nodocs make #7 sha256:d0c766d4be731d1cabaf9023f1051245a0e23b99b4e4a042d360ef1199ef1b15 #7 0.239 #7 0.239 (microdnf:1): librhsm-WARNING **: 08:59:17.167: Found 0 entitlement certificates #7 0.240 #7 0.240 (microdnf:1): librhsm-WARNING **: 08:59:17.168: Found 0 entitlement certificates #7 0.410 Package Repository Size #7 0.410 Installing: #7 0.410 make-1:4.2.1-11.el8.x86_64 ubi-8-baseos 509.8 kB #7 0.410 Transaction Summary: #7 0.410 Installing: 1 packages #7 0.410 Reinstalling: 0 packages #7 0.410 Upgrading: 0 packages #7 0.410 Obsoleting: 0 packages #7 0.410 Removing: 0 packages #7 0.410 Downgrading: 0 packages #7 0.412 Downloading packages... #7 0.589 Running transaction test... #7 0.644 Installing: make;1:4.2.1-11.el8;x86_64;ubi-8-baseos #7 0.732 Complete. #7 DONE 0.8s #8 [5/6] RUN microdnf install -y --setopt=tsflags=nodocs gcc-c++ #8 sha256:94e017f0ff2b976bcfe065b7fe916b6574a2f4ae4cc41ee899c77c69e5ec3dc0 #8 0.297 #8 0.297 (microdnf:1): librhsm-WARNING **: 08:59:17.987: Found 0 entitlement certificates #8 0.297 #8 0.297 (microdnf:1): librhsm-WARNING **: 08:59:17.989: Found 0 entitlement certificates #8 0.475 error: Could not depsolve transaction; 1 problem detected: #8 0.475 Problem: problem with installed package glibc-gconv-extra-2.28-189.1.el8.x86_64 #8 0.475 - package glibc-gconv-extra-2.28-189.1.el8.x86_64 requires glibc(x86-64) = 2.28-189.1.el8, but none of the providers can be installed #8 0.475 - cannot install both glibc-2.28-189.5.el8_6.x86_64 and glibc-2.28-189.1.el8.x86_64 #8 0.475 - package gcc-8.5.0-10.el8.x86_64 requires glibc-devel >= 2.2.90-12, but none of the providers can be installed #8 0.475 - package glibc-devel-2.28-189.5.el8_6.x86_64 requires glibc = 2.28-189.5.el8_6, but none of the providers can be installed #8 0.475 - package glibc-devel-2.28-189.5.el8_6.i686 requires glibc = 2.28-189.5.el8_6, but none of the providers can be installed #8 0.475 - glibc-2.28-189.5.el8_6.i686 has inferior architecture #8 0.475 - package gcc-c++-8.5.0-10.el8.x86_64 requires gcc = 8.5.0-10.el8, but none of the providers can be installed #8 0.475 - conflicting requests #8 ERROR: executor failed running [/bin/sh -c microdnf install -y --setopt=tsflags=nodocs gcc-c++]: exit code: 1 ------ > [5/6] RUN microdnf install -y --setopt=tsflags=nodocs gcc-c++: ------ There is a package mapping issue with the UBI 8 repository. We are investigating. *** Bug 2098164 has been marked as a duplicate of this bug. *** We believe the repository issue has been addressed. Would you please re-test to see if it is fixed? Thanks. You may have to run “dnf update” to download new repository metadata. Thanks for the fix. It is working without issues now. |