Bug 2058471
| Summary: | dnf copr enable fails to pick epel-9 chroot | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Carl George 🤠<carl> |
| Component: | dnf-plugins-core | Assignee: | Copr Team <copr-team> |
| Status: | CLOSED ERRATA | QA Contact: | swm-qe |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | CentOS Stream | CC: | amatej, bstinson, james.antill, jwboyer, mbanas |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-core-4.1.0-2.el9 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 11:15:26 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: | |||
| Bug Depends On: | 1994154 | ||
| Bug Blocks: | |||
|
Description
Carl George ðŸ¤
2022-02-25 05:03:01 UTC
Hi Carl, you do not have centos-stream-9 enabled in your project. Once this commit https://github.com/rpm-software-management/dnf-plugins-core/commit/1a4dbdb35a7d4e791ebbdcd1a26af941a827cc77 will be in the new release you will see a better error message or if you visit the page https://copr.fedorainfracloud.org/coprs/g/caddy/caddy/repo/centos-stream-9/dnf.repo?arch=x86_64 you can see that the chroot doesn't exist in your project. You can still use: dnf copr enable @caddy/caddy epel-9-x86_64 This will enable epel repo on your centos-stream. The same steps work on centos stream 8 because it uses dnf-plugins-core-4.0.21 and the change happened in dnf-plugins-core-4.0.24. There is no reason to have both the epel-9 and centos-stream-9 chroots enabled for the project. CentOS Stream is EPEL compatible. Furthermore, when COPR packages have dependencies from EPEL, the centos-stream-9 chroot is not usable. When a COPR has an epel-9 chroot, and `dnf copr enable` is run on a CentOS Stream 9 system to enable that COPR, it should pick that chroot. The bug is fixed by a patch https://github.com/rpm-software-management/dnf-plugins-core/pull/459 that is already merged into upstream. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (dnf-plugins-core bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8296 |