Bug 694394 - yum-3.2.29-13.el6.noarch breaks plugin options
Summary: yum-3.2.29-13.el6.noarch breaks plugin options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.1
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 682670
TreeView+ depends on / blocked
 
Reported: 2011-04-07 08:16 UTC by Karel Srot
Modified: 2014-01-21 06:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:34:19 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0602 0 normal SHIPPED_LIVE yum bug fix and enhancement update 2011-05-19 09:37:29 UTC

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


Note You need to log in before you can comment on or make changes to this bug.