Bug 1417542

Summary: Dnf won't synchronize cache
Product: [Fedora] Fedora Reporter: Martin Hatina <mhatina>
Component: dnfAssignee: rpm-software-management
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: EasyFix, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-2.2.0-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-01 17:22:01 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:
Attachments:
Description Flags
std-out
none
std-err
none
fedora-updates.repo
none
librepo.log
none
fedora.repo none

Description Martin Hatina 2017-01-30 08:10:07 UTC
Description of problem:
Dnf won't synchronize cache when using --installroot

Version-Release number of selected component (if applicable):
dnf-2.0.0_1-76g9aae056.fc24.noarch

How reproducible:
always

Steps to Reproduce:
1. dnf --installroot=/home/mhatina/tmp install dnf -v

Actual results:
Error: Failed to synchronize cache for repo 'fedora'

Expected results:
dnf is installed in installroot

Comment 1 Martin Hatina 2017-01-30 08:11:01 UTC
Created attachment 1245760 [details]
std-out

Comment 2 Martin Hatina 2017-01-30 08:11:20 UTC
Created attachment 1245761 [details]
std-err

Comment 3 Martin Hatina 2017-01-30 08:12:10 UTC
Created attachment 1245762 [details]
fedora-updates.repo

Comment 4 Martin Hatina 2017-01-30 08:14:34 UTC
*** Bug 1417541 has been marked as a duplicate of this bug. ***

Comment 5 Igor Gnatenko 2017-01-30 08:19:06 UTC
librepo.log?

Comment 6 Martin Hatina 2017-01-30 08:31:28 UTC
Created attachment 1245775 [details]
librepo.log

Comment 7 Igor Gnatenko 2017-01-30 08:36:50 UTC
09:30:08 check_transfer_statuses: Transfer finished: https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=x86_64 (Effective url: https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=x86_64)


Seems like $releasever is not expanded...

Comment 8 Martin Hatina 2017-01-30 09:28:04 UTC
Created attachment 1245803 [details]
fedora.repo

Comment 9 Martin Hatina 2017-02-02 09:48:47 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/722

Comment 10 Fedora Update System 2017-03-21 12:08:00 UTC
dnf-2.1.1-1.fc26 libdnf-0.8.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-65586fa42b

Comment 11 Fedora Update System 2017-03-21 14:27:19 UTC
dnf-2.1.1-1.1.fc26, libdnf-0.8.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-65586fa42b

Comment 12 Fedora Update System 2017-03-27 19:20:52 UTC
dnf-2.2.0-1.fc26, libdnf-0.8.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-65586fa42b

Comment 13 Fedora Update System 2017-04-01 17:22:01 UTC
dnf-2.2.0-1.fc26, libdnf-0.8.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.