Description of problem: dnf unable to install packages, makecache fails, repolist fails with this error: dnf makecache Librepo version: 1.7.16 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.40.0 NSS/3.19.1 Basic ECC zlib/1.2.8 libidn/1.31 libssh2/1.5.0) lr_download: Target: file:///etc/dnf/dnf.conf (-) select_next_target: Selecting mirror for: file:///etc/dnf/dnf.conf prepare_next_transfer: URL: file:///etc/dnf/dnf.conf add_librepo_xattr: Cannot set xattr user.Librepo.DownloadInProgress (fd: 4): Operation not supported lr_download: Downloading started check_transfer_statuses: Transfer finished: file:///etc/dnf/dnf.conf (Effective url: file:///etc/dnf/dnf.conf) Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=x86_64': Cannot prepare internal mirrorlist: file "repomd.xml" was not found in metalink Editing /etc/yum.repos.d/fedora*.repo, replacing all instances of "$releasever" with "22" fixes the problem Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Fresh install of Fedora 22 2. Attempt to install packages 3. Actual results: Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=x86_64': Cannot prepare internal mirrorlist: file "repomd.xml" was not found in metalink Expected results: $releasever should be understood by dnf as it worked in yum Additional info: I was able to install 1 package successfully, and it seems that perhaps a dependency update caused the problem. It worked immediately after the install.
Interesting. I cannot reproduce it. Can you please attach /var/log/dnf.log and post the output of "rpm -q --provides fedora-release" and "rpm -q --whatprovides system-release"?