Bug 595143
Summary: | Removing with leaves should work with respect to protected packages | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robin Lee <robinlee.sysu> | ||||
Component: | yum-utils | Assignee: | Seth Vidal <skvidal> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | ffesti, james.antill, maxamillion, pmatilai, tim.lauridsen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-05-23 23:56:23 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
That might be fixable, but the upstream/rawhide yum moved protected-packages into core ... and it will work with other plugins then. |
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* yum-plugin-remove-with-leaves-1.1.26-1.fc13.noarch yum-3.2.27-4.fc13.noarch yum-utils-1.1.26-1.fc13.noarch yum-plugin-protect-packages-1.1.26-1.fc13.noarch yum-plugin-fastestmirror-1.1.26-1.fc13.noarch yum-plugin-merge-conf-1.1.26-1.fc13.noarch yum-presto-0.6.2-1.fc13.noarch yum-metadata-parser-1.1.4-1.fc13.i686 yum-plugin-show-leaves-1.1.26-1.fc13.noarch How reproducible: (See the attached file install-and-remove-package.txt) And I added 'httpd' in /etc/sysconfig/protected-packages . Actual results: 'httpd' was still removed. Expected results: 'httpd' will be protected from removing.