-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-9.4
-
dnf-plugins-core-4.3.0-20.el9
-
No
-
Low
-
rhel-sst-cs-software-management
-
ssg_core_services
-
19
-
None
-
False
-
-
No
-
Red Hat Enterprise Linux
-
None
-
Requested
-
None
-
Release Note Not Required
-
-
All
-
None
What were you trying to do that didn't work?
Enabling a copr repository on architecture different from x86_64 is failing.
Please provide the package NVR for which bug is seen:
dnf-plugins-core-4.3.0-13.el9.noarch
How reproducible:
100%
Steps to reproduce
Reproducible for example using mock:
- mock -r alma+epel-9-aarch64 --forcearch aarch64 --enable-network --install dnf dnf-plugins-core
- mock -r alma+epel-9-aarch64 --forcearch aarch64 --enable-network shell
- inside the mock: dnf copr enable -y slp/mesa-krunkit
Expected results
epel-9-aarch64 copr repository is enabled
Actual results
copr plugin tries to enable epel-9-x86_64 repository:
<mock-chroot> sh-5.1# dnf copr enable -y slp/mesa-krunkit
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.
The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.
Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
Error: It wasn't possible to enable this project.
Repository 'epel-9-x86_64' does not exist in project 'slp/mesa-krunkit'.
Available repositories: 'fedora-39-aarch64', 'fedora-40-aarch64', 'epel-9-aarch64'
If you want to enable a non-default repository, use the following command:
'dnf copr enable slp/mesa-krunkit <repository>'
But note that the installed repo file will likely need a manual modification.
The issue has been fixed in upstream by commit https://github.com/rpm-software-management/dnf-plugins-core/commit/4c2b209d2367e48f8aeef18e9c696c42774cc6eb
Upstream issue: https://github.com/rpm-software-management/dnf-plugins-core/commit/4c2b209d2367e48f8aeef18e9c696c42774cc6eb