Description of problem: The /etc/yum.repos.d/fedora-updates.repo file has "os" listed in the baseurl and this will cause updates to fail because the repo does not contain this path. [updates] name=Fedora $releasever - $basearch - Updates failovermethod=priority #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Everything/$basearch/os/ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch enabled=1 repo_gpgcheck=0 type=rpm gpgcheck=1 metadata_expire=6h gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch skip_if_unavailable=False Version-Release number of selected component (if applicable): Still relevant as of the fedora-repos-28-2.noarch release. How reproducible: Very reproducible. Steps to Reproduce: 1. Install via ISO or using a docker container 2. Uncomment baseurl in /etc/yum.repos.d/fedora-updates.repo 3. Comment metalink in /etc/yum.repos.d/fedora-updates.repo 4. dnf clean all 5. dnf repolist Actual results: baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Everything/$basearch/os/ #metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch dnf clean all 18 files removed dnf repolist Error: Failed to synchronize cache for repo 'updates' Expected results: dnf repolist Fedora 28 - x86_64 - Updates 1.8 MB/s | 8.5 MB 00:04 Fedora 28 - x86_64 3.5 MB/s | 60 MB 00:17 Last metadata expiration check: 0:00:04 ago on Fri May 18 13:32:36 2018. repo id repo name status *fedora Fedora 28 - x86_64 57327 *updates Fedora 28 - x86_64 - Updates 4433 Additional info:
Created attachment 1439088 [details] correct baseurl patch
Created attachment 1439089 [details] correct testing baseurl patch An incorrect baseurl is set in fedora-updates-testing.repo, too.
These fixes are in progress at https://pagure.io/fedora-repos/pull-request/79 and https://pagure.io/fedora-repos/pull-request/80. Please do look over those and make sure they match up for you...
Looks good to me.
fedora-repos-28-3 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-72972dcd35
fedora-repos-28-3 has been pushed to the Fedora 28 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-2018-72972dcd35
fedora-repos-28-3 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.