present on rhel 5.8 too +++ This bug was initially created as a clone of Bug #735333 +++ Description of problem: The command 'yum clean' is considered too ambiguous by yum to commit any action. The error message is emitted. However the rest of the output of Yum as whole might give a wrong impression that the appropriate actions are made. Version-Release number of selected component (if applicable): yum-3.2.29-17.el6.noarch How reproducible: Deterministic Steps to Reproduce: 1. Have some repositories enabled 2. yum clean 3. Actual results: # yum clean Loaded plugins: product-id, rhnplugin, subscription-manager Updating Red Hat repositories. Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all Cleaning repos: beaker rhel-x86_64-server-6 # echo $? 0 Expected results: # yum clean Loaded plugins: product-id, rhnplugin, subscription-manager Updating Red Hat repositories. Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all # echo $? 1
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
Given this is a minor UI thing, I'm going to close this out for RHEL-5. I believe it's fixed in RHEL-6, but it is for RHEL-7/upstream.