+++ This bug was initially created as a clone of Bug #506754 +++ Description of problem: I still see color when I use the option "--color=never" or set color=never in yum.conf Version-Release number of selected component (if applicable): yum-3.2.23-3.fc10 How reproducible: always Steps to Reproduce: 1. $ yum --color=never list 'e2fs*' Actual results: see colors Expected results: no colors Additional info: IMHO, no color should be the default. --- Additional comment from james.antill on 2009-06-18 11:43:38 EDT --- Here's the fix: http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=86d3ee60e1d067cd3eeb1aff436502e638f66fdd ...you can change the default to no colour by setting "color=never" in your yum.conf. --- Additional comment from zing on 2009-06-18 14:27:18 EDT --- confirm patch worked. thanks. i know i can set it in yum.conf and that's what i'll be doing.
This is a simple fix (move a couple of lines around) and ready to go for snap1.
Release note added. If any revisions are required, please set the "requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Due to a logic error in the code, yum ignored the --color=never option on the command line and color=never option in yum.conf. Yum output was therefore always in color, regardless of user preferences. With the error corrected, users can now use yum in monochrome.
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-2009-1419.html