Hide Forgot
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.
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>
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.
Putting into modified as -14 already has the fix. Thanks for the quick turnaround, James. Regards, Phil
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