Bug 1994154 - wrong baseurl / dnf copr enable / centos stream
Summary: wrong baseurl / dnf copr enable / centos stream
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Silvie Chlupova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2024629 2058471
TreeView+ depends on / blocked
 
Reported: 2021-08-16 22:44 UTC by Leon Fauster
Modified: 2022-07-18 13:38 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-23 10:40:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Leon Fauster 2021-08-16 22:44:36 UTC
Description of problem:

on a full updated centos stream 8 system:

dnf copr enable {{ your favorite }}

does not enable the stream 8 repo, instead
the epel8 one is configured in /etc/yum.repos.d

means - the baseurl in the repo file has 

baseurl=https://download.copr.fedorainfracloud.org/results/.../epel-8-$basearch/

instead

baseurl=https://download.copr.fedorainfracloud.org/results/.../centos-stream-8-$basearch/



How reproducible:

Just pick a favorite copr project that builds for epel8 and stream8 and 

dnf copr enable {{ your favorite }}

Comment 1 Pavel Raiskup 2021-08-17 05:03:53 UTC
Thank you for the report.  Indeed.  Changing component.

Comment 2 Silvie Chlupova 2021-09-23 10:40:04 UTC
PR https://github.com/rpm-software-management/dnf-plugins-core/pull/439 resolves this bugzilla.

Comment 3 Pavel Raiskup 2022-07-18 12:58:17 UTC
This has been reverted upstream:
https://github.com/rpm-software-management/dnf-plugins-core/pull/459


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