Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: The dnf versionlock plugin will accept equivalent package names to add or exclude multiple times, and in a contradictory manner: it will record add and exclude actions for the same NEVRA form. $ sudo dnf versionlock add git Adding versionlock on: git-0:2.23.0-1.fc31.* $ sudo dnf versionlock exclude git Adding exclude on: git-0:2.23.0-1.fc31.* $ sudo dnf versionlock add git Adding versionlock on: git-0:2.23.0-1.fc31.* $ dnf versionlock list git-0:2.23.0-1.fc31.* !git-0:2.23.0-1.fc31.* git-0:2.23.0-1.fc31.* The fix seems pretty simple. I will submit it as a GitHub pull request. Version-Release number of selected component (if applicable): dnf-plugins-core 4.0.12 How reproducible: Always. Steps to Reproduce: See above.
Proposed fix submitted as https://github.com/rpm-software-management/dnf-plugins-core/pull/376
dnf-4.2.18-1.fc30, dnf-plugins-core-4.0.13-1.fc30, libdnf-0.43.1-1.fc30, microdnf-3.4.0-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-66c974fdb6
dnf-4.2.18-1.fc31, dnf-plugins-core-4.0.13-1.fc31, libdnf-0.43.1-1.fc31, microdnf-3.4.0-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9542e3ccfd
dnf-4.2.18-1.fc31, dnf-plugins-core-4.0.13-1.fc31, libdnf-0.43.1-1.fc31, microdnf-3.4.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
dnf-4.2.18-1.fc30, dnf-plugins-core-4.0.13-1.fc30, libdnf-0.43.1-2.fc30, microdnf-3.4.0-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-66c974fdb6
dnf-4.2.18-1.fc30, dnf-plugins-core-4.0.13-1.fc30, libdnf-0.43.1-2.fc30, microdnf-3.4.0-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.