[CentOS-devel] yum-3.2.22 in c5-testing

Akemi Yagi amyagi at gmail.com
Sun Aug 30 13:11:53 UTC 2009


On Sun, Aug 30, 2009 at 4:29 AM, William L.
Maltby<CentOS4Bill at triad.rr.com> wrote:

> Is the color change someting intentional? I did a --changelog, but
> nothing appeared, so I presume ther was no change log entry for the
> update. The package name again appeared in yellow, so it is consistent
> over two runs.

Apparently, the -color option is turned on in the latest yum by
default.  You can disable it by adding a -color=never to the yum
command.  Or, maybe customize the color by editing config.py.  I see
these lines:

    color_list_installed_older = Option('bold')
    color_list_installed_newer = Option('bold,yellow')
    color_list_installed_reinstall = Option('normal')
    color_list_installed_extra = Option('bold,red')

    color_list_available_upgrade = Option('bold,blue')
    color_list_available_downgrade = Option('dim,cyan')
    color_list_available_reinstall = Option('bold,underline,green')
    color_list_available_install = Option('normal')

    color_update_installed = Option('normal')
    color_update_local     = Option('bold')
    color_update_remote    = Option('normal')

    color_search_match = Option('bold')

Akemi


More information about the CentOS-devel mailing list