Description of problem: dnf upgrade run by dnf-automatic timer behaves different as on command line: Packages locked by "dnf versionlock add packagename" are upgraded by dnf automatic but should not! I blocked rpcbind by versionlock (reason: see bug 1401561). # dnf versionlock list rpcbind-0:0.2.3-10.rc1.fc24.* # dnf list --showduplicates rpcbind Available Packages rpcbind.x86_64 0.2.3-10.rc1.fc24 fedora I have checked "dnf upgrade", it doesn't list rpcbind as package for upgrade. But at the next day, after dnf-automatic was run, rpcbind was upgraded, and I have to downgrade it again manually. Next day the same behaviour again: # grep rpcbind /var/log/dnf.rpm.log Dec 06 02:16:33 INFO Downgraded: rpcbind-0.2.3-10.rc1.fc24.x86_64 Dec 06 02:16:33 INFO Erased: rpcbind-0.2.3-12.rc2.fc24.x86_64 Dec 06 05:12:28 INFO Upgraded: rpcbind-0.2.3-12.rc2.fc24.x86_64 Dec 06 05:12:29 INFO Cleanup: rpcbind-0.2.3-10.rc1.fc24.x86_64 Dec 07 09:57:11 INFO Downgraded: rpcbind-0.2.3-10.rc1.fc24.x86_64 Dec 07 09:57:11 INFO Erased: rpcbind-0.2.3-12.rc2.fc24.x86_64 Dec 08 01:52:52 INFO Upgraded: rpcbind-0.2.3-12.rc2.fc24.x86_64 Dec 08 01:53:57 INFO Cleanup: rpcbind-0.2.3-10.rc1.fc24.x86_64 Version-Release number of selected component (if applicable): dnf-1.1.10-2.fc24.noarch How reproducible: Always Steps to Reproduce: 1. Downgrade a package 2. dnf versionlock a package 3. Check that dnf upgrade doesn't list the versionlocked package 4. Configure dnf-automatic to run 5. Wait until dnf-automatic was run 6. Check if the versionlocked package remains downgraded or was upgraded Actual results: dnf versionlocked package is upgraded by dnf-automatic Expected results: dnf versionlocked package is not upgraded by dnf-automatic
*** This bug has been marked as a duplicate of bug 1372307 ***
Sorry, I saw bug 1372307 but didn't identify it as duplicates previously. Will the patch backported to Fedora 24 and 25?
@Edgar Hoch, it seems Fedora 26 will be the first release that will receive the patch for the plugins. In the meantime, you can test dnf 2 using the Copr repository. Here is more information: https://fedoraproject.org/wiki/Changes/DNF-2.0 (where is also stated that dnf 1 will only receive security updates)