dnf tells "Dependencies Resolved", but RPM's transaction check notices an undefined "%{epoch}" macro in a dependency. Yum is also affected. For comparison: bug 1251037 - Yum doesn't find undefined %epoch broken dep (!) Important: There is a fixed "blktap" build in updates-testing, so the problem is only reproducible as long as that fix is not pushed into "updates". In that case, it will be necessary to create a dummy broken package to include an undefined %epoch macro in a dependency again. # rpm -q dnf dnf-1.0.2-3.fc22.noarch # dnf install blktap-devel -y Last metadata expiration check performed 0:21:15 ago on Thu Aug 6 14:33:51 2015. Dependencies resolved. =============================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================== Installing: blktap x86_64 3.0.0-2.fc22.git0.9.2 fedora 243 k blktap-devel x86_64 3.0.0-2.fc22.git0.9.2 fedora 21 k Transaction Summary =============================================================================================================================================== Install 2 Packages Total download size: 263 k Installed size: 773 k Downloading Packages: (1/2): blktap-devel-3.0.0-2.fc22.git0.9.2.x86_64.rpm 233 kB/s | 21 kB 00:00 (2/2): blktap-3.0.0-2.fc22.git0.9.2.x86_64.rpm 970 kB/s | 243 kB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------- Total 157 kB/s | 263 kB 00:01 Running transaction check Error: transaction check vs depsolve: blktap(x86-64) = %{epoch}:3.0.0-2.fc22.git0.9.2 is needed by blktap-devel-3.0.0-2.fc22.git0.9.2.x86_64 To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'. You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue. The downloaded packages were saved in cache till the next successful transaction. You can remove cached packages by executing 'dnf clean packages'
Followup to devel@ list. It's createrepo_c that only understand numbers as Epochs due to relying on strtol() as parser. Any non-number, such as an undefined macro or a typo, results in a default Epoch 0 in the repodata.
https://lists.fedoraproject.org/pipermail/devel/2015-August/213882.html
createrepo_c-0.9.1-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-735f979d01
createrepo_c-0.9.1-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update createrepo_c' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-735f979d01
createrepo_c-0.9.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.