Red Hat Bugzilla – Bug 1260280
DNF configuration item "clean_requirements_on_remove" does not default to "True"
Last modified: 2015-09-23 00:12:38 EDT
Description of problem: In the man 5 dnf.conf page, it says the "clean_requirements_on_remove" option defaults to "True". If I remove this option in dnf.conf, DNF no longer removes unnecessary requirements. Please either correct the man page to say this defaults to "false", or update the dnf script to actually default to "true"
Version-Release number of selected component (if applicable): dnf-1.1.0-2.fc22.noarch
How reproducible: Always
Steps to Reproduce:
1. Install a package that will add additional packages, such as "qemu"
2. Run "dnf remove qemu", and notice all requirements just installed are also removed. (You can click "No" to not actually remove).
3. Edit /etc/dnf/dnf.conf and comment out "clean_requirements_on_true" line.
4. Run "dnf remove qemu" again, and now only qemu is removed, not all the dependencies.
Removes only specified package.
Removes specified package, and any unnecessary dependencies.
fixed in the upstream: https://github.com/rpm-software-management/dnf/commit/4eb28cc1090567c72217105368767d2f7948f65d
dnf-1.1.1-2.fc23 dnf-plugins-core-0.1.11-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14743
dnf-1.1.1-2.fc23, dnf-plugins-core-0.1.11-1.fc23 has been pushed to the Fedora 23 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 dnf-plugins-core'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14743
dnf-1.1.1-2.fc23, dnf-plugins-core-0.1.11-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.