Description of problem: "dnf update <a list of local package files>" will install package files that aren't yet installed. I ran into a problem in the current F21 version of httpd and wanted to downgrade to a previous version. To do that I used "koji download-build ... httpd-<version>-<release>", which downloaded all subpackages into a temporary directory, even those I haven't installed yet. Running "dnf update ./*.rpm" wanted to install even these subpackages I hadn't installed before. Version-Release number of selected component (if applicable): dnf-0.6.0-1.fc21.noarch hawkey-0.5.0-2.fc21.x86_64 python-hawkey-0.5.0-2.fc21.x86_64 How reproducible: Reproducible. Steps to Reproduce: 1. "dnf update <some not yet installed package(s)>" 2. "dnf download <the same package(s)>" 3. "dnf update <path(s) to the downloaded package file(s)>" Actual results: Step 1 will not install the package(s). Step 3 will install the package(s) Expected results: Both steps won't install the not yet installed package(s). Additional info:
Hi, thanks for the report. Right, step 3 shouldn't install not-yet-installed packages.
Fixed in the upstream.
*** Bug 1084181 has been marked as a duplicate of this bug. ***
dnf-0.6.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dnf-0.6.2-1.fc21
Package dnf-0.6.2-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.6.2-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12254/dnf-0.6.2-1.fc21 then log in and leave karma (feedback).
Confirmed this is fixed in dnf-0.6.4-5.fc21.noarch, which is the latest available for stable in Fedora 21.
dnf-0.6.4-6.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14323
dnf-0.6.4-7.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b
dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 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 dnf' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b
dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.