Description of problem: According to the yum man page, "yum install @somegroup -somepackage" should exclude somepackage from install. This is the output expected by "show-installed -f yum" from yum-utils. For example, yum install @cinnamon-desktop -eog should work according to the man page, however instead it gives the following error: CRITICAL:yum.cli:Command line error: option -e: invalid integer value: 'og' Work around is to use "--exclude=" instead of "-". This bug is at minimum an error in the man pages. If it is only a bug in the man-page then this bug should be reassigned to yum-utils and the show-installed script's yum output mode should be modded to use "--exclude=" instead of "-". yum version: 3.4.3 on FC20 Beta RC2 (also fedora 18).
There's a name clash with -e <errorlevel> option that expects an integer argument. You can't exclude packages starting with letters "cRdex" (all Yum one-letter options with an argument). However, the following works: yum install @cinnamon-desktop -- -eog In theory we could change the Yum's option parser that options are recognized only before first positional argument, but that would break lots of use cases, so I'm sure we won't do that.
Thanks for information on the -- flag. Please re-open this bug as a bug against the manpages for yum. The "--" option is not mentioned in the man pages except for a different usage under the swap command. I have opened bug https://bugzilla.redhat.com/show_bug.cgi?id=1027019 against yum-utils.
"--" is not a yum option, it's just a commonly used convention to mark "end of options" to resolve such argument/option ambiguity. Yum uses the optparse module, and AFAIK this has "--" support built-in and it can't be disabled. $ man rm To remove a file whose name starts with a `-', for example `-foo', use one of these commands: rm -- -foo Probably, we should document it in Yum, too.
yum-3.4.3-119.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/yum-3.4.3-119.fc19
yum-3.4.3-119.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-119.fc20
Package yum-3.4.3-119.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-3.4.3-119.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-22706/yum-3.4.3-119.fc20 then log in and leave karma (feedback).
With yum-3.4.3-119.fc20, I am now seeing for the first time in F20 behavior that has been in Rawhide for a while, namely if you do something like "yum install @kde-desktop" you see "Warning: group kde-desktop does not exist." Despite this, I think it's doing the right thing, since once it did install several KDE-related packages. The warning happens even if I use the full name "kde-desktop-environment" shown by "yum -v grouplist". Is this a (different) bug? If not, what is the expected syntax that will not generate the warning?
yum-3.4.3-120.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/yum-3.4.3-120.fc19
yum-3.4.3-120.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-3.4.3-120.fc20
yum-3.4.3-120.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.4.3-120.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.