What is the difference between yum-plugin-remove-with-leaves and clean_requirements_on_remove?
I was wondering what is the difference between plugin yum-plugin-remove-with-leaves
and /etc/yum.conf
option clean_requirements_on_remove
.
clean_requirements_on_remove
When removing packages (by removal, update or obsoletion) go through each package's dependencies. If any of them are no longer required by any other package then also mark them to be removed. Boolean (1, 0, True, False, yes, no) Defaults to False
yum-plugin-remove-with-leaves
This extension removes unused dependencies which have been incorporated by an installation package that would otherwise not be removed. Helps maintain a system clean of libraries and unused packages.
There's also the remove_leaf_only
configuration changes the behaviour of this command to only remove packages which aren't required by something else
. And the clean_requirements_on_remove
configuration changes the behaviour of this command to also remove packages that are only dependencies of this package.
The language is very vague.
Consider asking this question at http://lists.baseurl.org/mailman/listinfo/yum