Hide Forgot
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 Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0857.html