| Summary: | yum groupremove "development tools" removes lvm2, binutils on fresh install | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | jds222 |
| Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4 | CC: | james.antill, jzeleny |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-25 08:27:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
jds222
2013-11-24 04:17:29 UTC
The paste you provided doesn't seem to work, could you re-paste the complete output? Oh and btw removing binutils is quite ok, as that package is a part of the Development Tools group in CentOS. I have yet to figure out why is lvm getting removed but that will hopefully get more clear when I see your paste. Forgot the paste had auto remove set. I don't have a copy of the original output but should be able to recreate that tomorrow. In the mean time, I invite you to install centos on a VM and give it a shot. The issue is consistent. Actually, Firefox saved the paste. Here is a new link: http://pastebin.centos.org/6021/ Ok, I'm pretty sure now this is not a bug in yum, it does exactly what it's required to do: Development Tools group contains mandatory package binutils. By removing the group, you also remove this package. Now, module-init-tools require binutils so they have to be removed as well. And similarly, lvm2 requires module-init-tools, so it also has to be removed. The way I see it, I install dev tools to compile something. I then uninstall dev tools. System breaks. Something isn't right. Do you not see how this could be an issue? I do but it's simply not an issue of yum - it really does what it's asked to do. If you want a one-instance fix, setting groupremove_leaf_only=1 in yum.conf should help you. If you want a permanent fix, I suggest contacting CentOS with a request to make this configuration default or to remove the binutils package from "Developer Tools" group. HTH Jan The groupremove_leaf_only=1 workaround did not do the trick for me: http://pastebin.centos.org/6051/ However the guy's at #centos suggested yum history list/info/undo and that appears to achieve the desired goal. Hope this helps others. |