Bug 444588
Summary: | --exclude doesn't handle during `yum remove` | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Petr Sklenar <psklenar> |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.2 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-29 14:37:49 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
Petr Sklenar
2008-04-29 11:49:28 UTC
yum remove aide --exclude=aide Loading "protect-packages" plugin Loading "skip-broken" plugin Loading "list-data" plugin Loading "security" plugin Loading "rhnplugin" plugin Loading "aliases" plugin Loading "kmod" plugin Loading "basearchonly" plugin Loading "downloadonly" plugin Loading "changelog" plugin Loading "protectbase" plugin Loading "filter-data" plugin Setting up Remove Process rhel-i386-server-5 100% |=========================| 1.4 kB 00:00 Excluding Packages in global exclude list Finished 0 packages excluded due to repository protections Resolving Dependencies --> Running transaction check ---> Package aide.i386 0:0.12-7 set to be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Removing: aide i386 0.12-7 installed 263 k Transaction Summary ============================================================================= Install 0 Package(s) Update 0 Package(s) Remove 1 Package(s) Is this ok [y/N]: Yeh, there are other cases where are excludes are not optimal. However I doubt we'll ever process excludes on the rpmdb side, it just doesn't make sense ... for instance what happens if you have pkg-X installed which conflicts with pkg-Y ... doing yum --exclude=pkg-X install pkg-Y would be a really bad idea to try and do (although rpm would stop us). Excludes really means "ignore this pkg from the repos." What do you want the above thing to do? What is the usecase? If --exclude works with install or update I meant that it could work with remove and it didn't write any message. But OK, I know that there much important thing to do. bye |