Description of problem: Currently unable to install the epel release rpm onto a micro container due to conflicting packages between epel and fedora-release Version-Release number of selected component (if applicable): epel 9 and fedora-release-38 How reproducible: I have tried in both aarch64 and amd64 environments with the same error. Steps to Reproduce: curl -o epel-release.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm container=$(buildah from registry.access.redhat.com/ubi9/ubi-micro:9.2-13) mount=$(buildah mount $container) dnf install --installroot $mount --nodocs -y epel-release.rpm Actual results: Fedora 38 - x86_64 6.9 MB/s | 83 MB 00:12 Fedora 38 openh264 (From Cisco) - x86_64 2.5 kB/s | 2.5 kB 00:01 Fedora 38 - x86_64 - Updates 14 MB/s | 30 MB 00:02 Red Hat Universal Base Image 9 (RPMs) - BaseOS 718 kB/s | 581 kB 00:00 Red Hat Universal Base Image 9 (RPMs) - AppStre 1.9 MB/s | 1.7 MB 00:00 Red Hat Universal Base Image 9 (RPMs) - CodeRea 282 kB/s | 198 kB 00:00 Error: Problem: problem with installed package fedora-release-38-36.noarch - package epel-release-9-5.el9.noarch from @commandline conflicts with fedora-release provided by fedora-release-38-36.noarch from @System - package epel-release-9-5.el9.noarch from @commandline conflicts with fedora-release provided by fedora-release-38-34.noarch from fedora - package epel-release-9-5.el9.noarch from @commandline conflicts with fedora-release provided by fedora-release-38-36.noarch from updates - conflicting requests (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages) Expected results: Successful install Additional info:
This is a feature, not a bug. epel-release is only for enterprise linux, not fedora epel-release conflicts with fedora-release to prevent people from accidentally doing bad things to their system. Although you are running, what started out as a UBI container, you clearly are putting Fedora on it, or, at the very least, the Fedora repo's. You might know what you are doing, and that is fine. But we won't change epel-release to accommodate you, because it might hurt other users.
Thanks Troy. Removing the Fedora release repo now. Classic case of figuring this out as soon as I filed the bug.