Bug 735333 - 'yum clean' gives a wrong impression
'yum clean' gives a wrong impression
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum (Show other bugs)
6.1
Unspecified Unspecified
low Severity low
: rc
: 6.2
Assigned To: James Antill
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-02 07:48 EDT by Šimon Lukašík
Modified: 2014-01-21 01:24 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 828690 (view as bug list)
Environment:
Last Closed: 2012-06-20 09:53:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Šimon Lukašík 2011-09-02 07:48:56 EDT
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:
Comment 7 errata-xmlrpc 2012-06-20 09:53:41 EDT
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

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