Red Hat Bugzilla – Bug 595143
Removing with leaves should work with respect to protected packages
Last modified: 2014-01-21 18:15:00 EST
Created attachment 415969 [details]
A trivial reproduced situation when installing php and removing it again
Description of problem:
When removing package with '--remove-leaves' option, yum shows no regard to the protected packages set through the 'protect-packages' plugin.
Version-Release number of selected component (if applicable):
[cheese@cheese-laptop ~]$ rpm -qa yum*
(See the attached file install-and-remove-package.txt)
And I added 'httpd' in /etc/sysconfig/protected-packages .
'httpd' was still removed.
'httpd' will be protected from removing.
That might be fixable, but the upstream/rawhide yum moved protected-packages into core ... and it will work with other plugins then.