Bug 465414
Summary: | yum-remove-with-leaves should be made into a commandline option | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> |
Component: | yum-utils | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 10 | CC: | james.antill, pmatilai, tim.lauridsen, tomspur |
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: | 2009-03-05 15:42:25 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: |
Description
Jens Petersen
2008-10-03 07:00:39 UTC
So, We can make it an option, but there are two things here: 1. the problem you saw with an update trying to remove things has been fixed in upstream. It was a bug w/how remove-with-leaves looked up what was being removed. 2. yum --disable-plugin=remove-with-leaves update is the equivalent to disabling the option. Do we actually need another option? (In reply to comment #1) > 1. the problem you saw with an update trying to remove things has been fixed in > upstream. It was a bug w/how remove-with-leaves looked up what was being > removed. Cool > Do we actually need another option? If it is safe to enable it by default then maybe not. For me its unsafe, too!! I just wanted to update my system, but the plugin tries to erase packages, needed by the packages to update. Maybe, it thinks, that the packages to be updated, are not installed on the system, so the dependencies are not needed anymore, and will be deleted… Definitely a bug. If this can be solved, it can stay, but to split remove-leaves from update, will be a nicer and easier solution. we've already fixed the bug you noticed. So, it shouldn't be a problem. This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping i have changed the plugin to only be active if '--remove-leaves' is added to the commandline or 'remove_always=1' is added to the plugin conf file. It will be available in next release of yum-utils you can test it by getting this file http://yum.baseurl.org/gitweb?p=yum-utils.git;a=blob_plain;f=plugins/remove-with-leaves/remove-with-leaves.py;hb=5fe8db1bffd48f8000cedebeffea7c2f56dffb41 and copy it into /usr/lib/yum-plugins/ |