Description of problem: yum copr enable XXX Version-Release number of selected component (if applicable): yum-plugin-copr-1.1.31-45.el7.noarch How reproducible: always Steps to Reproduce: 1. yum -y install yum-plugin-copr 2. yum -y copr enable @realtime/testing 3. Actual results: # yum -y copr enable @realtime/testing Loaded plugins: copr, fastestmirror, ovl Error: [Errno 14] HTTPS Error 404 - Not Found Expected results: # yum -y copr enable @realtime/testing Loaded plugins: copr, fastestmirror, ovl Repository successfully enabled. ...and repository should be really enabled. Additional info: Works for Fedora, does not on RHEL/CentOS.. Yum plugin tries to fetch repo from https://copr.fedoraproject.org/coprs/@realtime/testing/repo/epel-7-x86_64/ while dnf plugin from https://copr.fedoraproject.org/coprs/@realtime/testing/repo/fedora-28/ i.e. without arch. Manual fetch of https://copr.fedoraproject.org/coprs/@realtime/testing/repo/epel-7/ works as expected. Did you removed some compatibility code from infrastructure recently?
Yes. As the repofile use $basearch copr use the url without arch. For some time. This need to be changed in yum-plugin-copr.
*** Bug 1581675 has been marked as a duplicate of this bug. ***
I temporarily fixed it: https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=8bea5c3bda391f2c2982447284e4132af6e863e4 We will really need to update yum-plugin-copr for a proper fix though.
Related: Bug 1582294 - yum-plugin-copr doesn't work
yum and related packages are no longer actively developed. They are being replaced with dnf, dnf-utils, etc. I'm closing this bug because it's most likely never going to be fixed. If you still consider your bug report important, reopen it, please.