Bug 151704
Summary: | yum doesn't use standard command line parser? | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Need Real Name <lsof> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | katzj |
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: | 2005-03-22 18:58:58 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
Need Real Name
2005-03-21 19:50:58 UTC
The problem is that for pkg names it's impossible to separate them out. remember a package name could easily be --exclude=*foo* so yum can't know any different. Why is --exclude=*foo* a problem? It doesn't begin with a hyphen.. everything coming AFTER the command is considered an argument, not an option/flag --option/-flag command arg arg arg so if you have: -y update --exclude=foo --exclude=bar then yum will think: update --exclude=foo --exclude=bar and fail to find those items available for update, ie: it's looking for pkgs named: --exclude=foo and --exclude=bar do see what I'm saying? Yes, and that's the bug. It's less flexible with command line arguments that other programs. |