Bug 694394

Summary: yum-3.2.29-13.el6.noarch breaks plugin options
Product: Red Hat Enterprise Linux 6 Reporter: Karel Srot <ksrot>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED ERRATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.1CC: ddumas, ebenes, pknirsch
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:34:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 682670    

Description Karel Srot 2011-04-07 08:16:32 UTC
Description of problem:

e.g. --security (and maybe also the others) option doesn't work with

[root@dhcp-30-102 ~]# yum --security check-update
Loaded plugins: auto-update-debuginfo, changelog, refresh-packagekit, rhnplugin, security, tsflags
This system is not registered with RHN.
RHN Satellite or RHN Classic support will be disabled.
Limiting package lists to security relevant ones
No packages needed for security; 0 packages available

[root@dhcp-30-102 ~]# rpm -q yum
yum-3.2.29-13.el6.noarch
[root@dhcp-30-102 ~]# yum --security check-update
Usage: yum [options] COMMAND

List of Commands:

check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
grouplist      List available package groups
groupremove    Remove the packages in a group from your system
help           Display a helpful usage message
history        Display, or use, the transaction history
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages
load-transaction load a saved transaction from filename
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repolist       Display the configured software repositories
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string
shell          Run an interactive yum shell
update         Update a package or packages on your system
upgrade        Update packages taking obsoletes into account
version        Display a version for the machine and/or available repos.

CRITICAL:yum.cli:Command line error: no such option: --security

This is probably related to the patch for bz 692866.

Comment 1 Eduard Benes 2011-04-07 09:10:41 UTC
This is specific to only yum options for installed yum plugins.
Other options provided by yum-plugins doesn't work neither. For example yum
--tsflags, --changelog, ... and ends with error like this one:

CRITICAL:yum.cli:Command line error: no such option: --<any-available-plugin>

Comment 2 James Antill 2011-04-07 19:10:53 UTC
gah, sorry I didn't notice this ... as it works if you use aliases "yum SEC chk" etc.

Fix is simple, I'll go another build today. Just going to reuse the old BZ atm.

Comment 6 Phil Knirsch 2011-04-12 16:44:14 UTC
Putting into modified as -14 already has the fix.

Thanks for the quick turnaround, James.

Regards, Phil

Comment 10 errata-xmlrpc 2011-05-19 13:34:19 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0602.html