Bug 1340485

Summary: dnf can't use repo. (maybe when they use --baseurl feature?)
Product: [Fedora] Fedora Reporter: James Antill <james.antill>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-06 11:10:30 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:

Description James Antill 2016-05-27 14:08:43 UTC
Description of problem:

Add the following repo. to yum.repos.d, dnf refuses to download the metadata:

[fm-group:core]
name = Fedora $releasever auto modularity, @core
baseurl = https://fedorapeople.org/groups/modularity/fedora-$releasever-mod/@core
enabled=1
metadata_expire=28d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

...from what I can see it's a problem in librepo, and it's probably due to the repo. using the --baseurl feature of createrepo. dnf fails in the same way if you copy it locally and use a file: as the baseurl.


Version-Release number of selected component (if applicable):
% rpm -q dnf
dnf-1.1.9-1.fc23.noarch

How reproducible:
Always

Comment 1 Michal Luscon 2016-06-06 11:10:30 UTC

*** This bug has been marked as a duplicate of bug 1257965 ***