| Summary: | yum install ignores whitespace for "@" but not "-" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew McNabb <amcnabb> |
| Component: | yum | Assignee: | Fedora Packaging Toolset Team <packaging-team> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | ffesti, james.antill, maxamillion, pmatilai, tla, zpavlas |
| 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: | 2012-05-02 08:43:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Andrew McNabb
2011-12-15 18:56:00 UTC
> The behavior for parsing after a "-" in yum differs both from the parsing after "@" in yum and from the parsing after "-" in kickstart scripts.
Confirmed. '-' is handled identically for groups and packages, but yum supports syntax "grp_foo,grp_bar" to select/deselect two groups at once, and then strips spaces, probably to support "grp_foo, grp_bar" as well. This syntax is not supported for packages, so all of these don't work as well:
$ yum install/remove/whatever " sendmail"
$ yum install/remove/whatever "sendmail "
$ yum install/remove/whatever sendmail,gimp
$ yum install/remove/whatever "sendmail, gimp"
There are about 6+ uses of '.returnPackages(patterns=[arg])' idiom, where 'arg' is a command line argument. To make the above work, this has to be changed.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. |