Description of problem: When running `dnf builddep` or `dnf builddep package-that-doesnt-exist`, dnf returns output like: Last metadata expiration check performed 0:01:20 ago on Wed Jul 8 15:48:00 2015. Dependencies resolved. Nothing to do. Complete! From what I understand, when the argument doesn't end in src.rpm, rpm or spec, it searches repositories for package with that name. Since there is no package of that name (or no package as an argument), I'd expect some kind of an error message or warning and nonzero return code. Version-Release number of selected component (if applicable): dnf-conf-1.0.1-2.fc22.noarch dnf-1.0.1-2.fc22.noarch dnf-plugins-core-0.1.9-1.fc22.noarch dnf-yum-1.0.1-2.fc22.noarch How reproducible: always Steps to Reproduce: 1a. run 'dnf builddep' 1b. run 'dnf builddep bogus-package-name' Actual results: # dnf builddep bogus-package-name Last metadata expiration check performed 0:10:35 ago on Wed Jul 8 15:48:00 2015. Dependencies resolved. Nothing to do. Complete! Expected results: 1a. Warning/help message for builddep 1b. Warning/error message stating wrong package name, package not found. In both cases return value other than 0. Additional info:
Proposed fix is a part of https://github.com/rpm-software-management/dnf-plugins-core/pull/102
dnf-plugins-core-0.1.10-1.fc23,dnf-1.1.0-1.fc23,hawkey-0.6.0-1.fc23 has been submitted as an update for Fedora 23. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.10-1.fc23,dnf-1.1.0-1.fc23,hawkey-0.6.0-1.fc23
dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-1.fc22,hawkey-0.6.0-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-1.fc22,hawkey-0.6.0-1.fc22
Package dnf-plugins-core-0.1.10-1.fc22, dnf-1.1.0-1.fc22, hawkey-0.6.0-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.10-1.fc22 dnf-1.1.0-1.fc22 hawkey-0.6.0-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-13162/dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-1.fc22,hawkey-0.6.0-1.fc22 then log in and leave karma (feedback).
dnf-plugins-core-0.1.10-1.fc22, hawkey-0.6.0-1.fc22, dnf-1.1.0-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
dnf-plugins-core-0.1.10-1.fc23, hawkey-0.6.0-1.fc23, dnf-1.1.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.