On Wed, May 16, 2018 at 10:53:10AM +0200, Stephan Bergmann wrote:
On F28, `dnf update` recently started to fail for me with
"Error: Failed to
synchronize cache for repo 'fedora-debuginfo'":
> $ sudo dnf -vv --disablerepo=\* --enablerepo=fedora-debuginfo --refresh makecache
> Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download,
generate_completion_cache, needs-restarting, playground, repoclosure, repograph,
repomanage, reposync, system-upgrade, versionlock
> DNF version: 2.7.5
> cachedir: /var/cache/dnf
> Making cache files for all metadata files.
> fedora-debuginfo: has expired and will be refreshed.
> Cannot download
'https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-28&arch=x86_64':
Cannot prepare internal mirrorlist: file "repomd.xml" was not found in
metalink.
> Error: Failed to synchronize cache for repo 'fedora-debuginfo'
Thanks for the report. Fixing it right now in MirrorManager. The new
directory layout for the debuginfo packages which sometimes contains
'tree/' in the path and sometimes it does not confuses the part of
MirrorManager which tries to detect repositories. Should be fixed soon.
Adrian