Description of problem: If an obsoleted package is installed but not userinstalled, and it is then upgraded and therefore replaced with its obsoleter, the new package is marked as userinstalled. Version-Release number of selected component (if applicable): # rpm -q dnf dnf-4.0.9-2.fc29.noarch How reproducible: always Steps to Reproduce: 1. Have packages <package> and <obsoleter> (<obsoleter> obsoletes <package>) 2. Force installation of <package> 3. # dnf mark remove <package> 5. # dnf upgrade --best (this installs <obsoleter>) 6. # dnf history userinstalled Actual results: The <obsoleter> is listed among userinstalled packages Expected results: The <obsoleter> is not listed Additional info:
Please can you also confirm that the problem is also valid for dnf-2.7.5?
Yes, the problem is in dnf-2.7.5 as well.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
PR: https://github.com/rpm-software-management/libdnf/pull/772 PR: https://github.com/rpm-software-management/dnf/pull/1459 Tests: https://github.com/rpm-software-management/ci-dnf-stack/pull/585
FEDORA-2019-1635fee8f5 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1635fee8f5
dnf-4.2.17-1.fc31, dnf-plugins-core-4.0.12-1.fc31, libcomps-0.1.12-1.fc31, libdnf-0.39.1-1.fc31, microdnf-3.3.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-2019-1635fee8f5
dnf-4.2.17-1.fc30, dnf-plugins-core-4.0.12-1.fc30, libcomps-0.1.12-1.fc30, libdnf-0.39.1-1.fc30, microdnf-3.3.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-2019-0d122cc67a
FEDORA-2019-0d122cc67a has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0d122cc67a
dnf-4.2.17-1.fc31, dnf-plugins-core-4.0.12-1.fc31, libcomps-0.1.14-1.fc31, libdnf-0.39.1-1.fc31, microdnf-3.3.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-2019-1635fee8f5
dnf-4.2.17-1.fc30, dnf-plugins-core-4.0.12-1.fc30, libcomps-0.1.14-1.fc30, libdnf-0.39.1-1.fc30, microdnf-3.3.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-2019-0d122cc67a
dnf-4.2.17-1.fc31, dnf-plugins-core-4.0.12-1.fc31, libcomps-0.1.14-1.fc31, libdnf-0.39.1-1.fc31, microdnf-3.3.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.17-1.fc30, dnf-plugins-core-4.0.12-1.fc30, libcomps-0.1.14-1.fc30, libdnf-0.39.1-1.fc30, microdnf-3.3.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.