Bug 1580451 - `yum copr enable` fails for any epel-7 repo
Summary: `yum copr enable` fails for any epel-7 repo
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1581675 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-21 13:46 UTC by Michael Mráka
Modified: 2018-07-18 21:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-18 21:30:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Mráka 2018-05-21 13:46:56 UTC
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?

Comment 1 Miroslav Suchý 2018-05-21 15:36:52 UTC
Yes. As the repofile use $basearch copr use the url without arch. For some time.
This need to be changed in yum-plugin-copr.

Comment 2 Miroslav Suchý 2018-05-24 11:04:47 UTC
*** Bug 1581675 has been marked as a duplicate of this bug. ***

Comment 3 clime 2018-06-11 13:21:18 UTC
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.

Comment 4 clime 2018-06-11 13:22:08 UTC
Related: Bug 1582294 - yum-plugin-copr doesn't work

Comment 5 Daniel Mach 2018-07-18 21:30:50 UTC
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.

Comment 6 Daniel Mach 2018-07-18 21:33:45 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.