Description of problem: I'm unable to install local rpms using dnf. I clearly remember installing them earlier. Not quite sure when this changed Version-Release number of selected component (if applicable): [asinha@ankur-laptop SRPMS]$ rpm -qa | egrep "dnf|hawkey|librepo-" librepo-1.5.1-1.fc20.x86_64 hawkey-0.4.7-1.fc20.x86_64 PackageKit-hawkey-0.8.15-1.fc20.x86_64 dnf-0.4.10-1.fc20.noarch python-librepo-1.5.1-1.fc20.x86_64 python-hawkey-0.4.7-1.fc20.x86_64 [asinha@ankur-laptop SRPMS]$ How reproducible: Always Steps to Reproduce: 1. Build a package in mock 2. Try to install it using dnf 3. Actual results: Does not install. Fails with "nothing to do" even if I use --nogpgcheck Expected results: Should install the package. Additional info: [asinha@ankur-laptop SRPMS]$ sudo dnf install /var/lib/mock/fedora-20-x86_64/result/albumart-1.6.6-1.fc20.noarch.rpm -v -d 10 Config time: 0.006 cachedir: /var/cache/dnf/x86_64/20 dnf version: 0.4.10 repo: using cache for: updates-testing repo: using cache for: livna not found deltainfo for: rpm.livna.org for 20 - x86_64 repo: using cache for: fedora not found deltainfo for: Fedora 20 - x86_64 repo: using cache for: rpmfusion-free-updates not found deltainfo for: RPM Fusion for Fedora 20 - Free - Updates repo: using cache for: rpmfusion-nonfree-updates not found deltainfo for: RPM Fusion for Fedora 20 - Nonfree - Updates repo: using cache for: rpmfusion-free not found deltainfo for: RPM Fusion for Fedora 20 - Free repo: using cache for: updates repo: using cache for: rpmfusion-nonfree not found deltainfo for: RPM Fusion for Fedora 20 - Nonfree hawkey sack setup time: 0.288 Error: Nothing to do. [asinha@ankur-laptop SRPMS]$ cp /var/lib/mock/fedora-20-x86_64/result/albumart-1.6.6-1.fc20.noarch.rpm ~/ [asinha@ankur-laptop SRPMS]$ sudo dnf install ~/albumart-1.6.6-1.fc20.noarch.rpm -v -d 10 Config time: 0.006 cachedir: /var/cache/dnf/x86_64/20 dnf version: 0.4.10 repo: using cache for: updates-testing repo: using cache for: livna not found deltainfo for: rpm.livna.org for 20 - x86_64 repo: using cache for: fedora not found deltainfo for: Fedora 20 - x86_64 repo: using cache for: rpmfusion-free-updates not found deltainfo for: RPM Fusion for Fedora 20 - Free - Updates repo: using cache for: rpmfusion-nonfree-updates not found deltainfo for: RPM Fusion for Fedora 20 - Nonfree - Updates repo: using cache for: rpmfusion-free not found deltainfo for: RPM Fusion for Fedora 20 - Free repo: using cache for: updates repo: using cache for: rpmfusion-nonfree not found deltainfo for: RPM Fusion for Fedora 20 - Nonfree hawkey sack setup time: 0.336 Error: Nothing to do. [asinha@ankur-laptop SRPMS]$ [asinha@ankur-laptop SRPMS]$ sudo dnf install ~/albumart-1.6.6-1.fc20.noarch.rpm -v -d 10 --nogpgcheck Config time: 0.006 cachedir: /var/cache/dnf/x86_64/20 dnf version: 0.4.10 repo: using cache for: updates-testing repo: using cache for: livna not found deltainfo for: rpm.livna.org for 20 - x86_64 repo: using cache for: fedora not found deltainfo for: Fedora 20 - x86_64 repo: using cache for: rpmfusion-free-updates not found deltainfo for: RPM Fusion for Fedora 20 - Free - Updates repo: using cache for: rpmfusion-nonfree-updates not found deltainfo for: RPM Fusion for Fedora 20 - Nonfree - Updates repo: using cache for: rpmfusion-free not found deltainfo for: RPM Fusion for Fedora 20 - Free repo: using cache for: updates repo: using cache for: rpmfusion-nonfree not found deltainfo for: RPM Fusion for Fedora 20 - Nonfree hawkey sack setup time: 0.290 Error: Nothing to do. [asinha@ankur-laptop SRPMS]$
The albumart package is not already installed, just to be sure: [asinha@ankur-laptop SRPMS]$ rpm -q albumart package albumart is not installed [asinha@ankur-laptop SRPMS]$ rpm -qa \*albumart\* [asinha@ankur-laptop SRPMS]$
Thank you for the report. Radek this looks like another corner case in exceptions handling in install(), please take a look.
*** This bug has been marked as a duplicate of bug 1049671 ***