Description of problem: I was installing some rpms using a wildcard, and saw the message "Package … not installed, cannot update it.", even though the package was clearly present. It is because dnf warns about the source package without giving any hint that it is a source package. Version-Release number of selected component (if applicable): dnf-1.1.9-2.fc24.noarch Actual results: $ sudo dnf upgrade /var/lib/mock/fedora-24-x86_64/result/systemd-229-11.fc24.src.rpm Package systemd not installed, cannot update it. Expected results: $ sudo dnf upgrade /var/lib/mock/fedora-24-x86_64/result/systemd-229-11.fc24.src.rpm Package /var/lib/mock/fedora-24-x86_64/result/systemd-229-11.fc24.src.rpm is a source package and cannot be updated, ignoring.
totally agree
Created PR: https://github.com/rpm-software-management/dnf/pull/560