[CentOS] yum history list

Mon Sep 12 12:17:55 UTC 2016
Michael H <michael at wemoto.com>

On 12/09/16 13:05, Michael H wrote:
> Hi List,
> 
> I have several workstations all with exactly the same OS versions,
> kernels + yum versions;
> 
> CentOS Linux release 7.2.1511 (Core)
> kernel.x86_64		3.10.0-327.28.3.el7
> yum.noarch              3.4.3-132.el7.centos.0.1
> 
> running a 'yum history list' command produces different outputs on some
> workstations, I haven't changed any yum configurations.
> 
> Workstation A:
> yum history list
> Loaded plugins: fastestmirror, langpacks
> ID     | Login user               | Date and time    | Action(s)      |
> Altered
> 
> 
> Workstation B:
> yum history list
> Loaded plugins: fastestmirror, langpacks
> ID     | Command line             | Date and time    | Action(s)      |
> Altered
> 
> 
> Any clue as to why I have different fields being output?
> 
> I see in the yum manual:
> In  "history  list" you can change the behaviour of the 2nd column via
> the configuration option history_list_view.
> 
> But I'm unsure how I can adjust the columns.
> 
> Any clues would be much appreciated,
> 
> Thanks,
> 
> Michael
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 

Excuse the noise,

adding:
history_list_view=cmds

to /etc/yum.conf produces the output I wanted.

Still unsure why the installations are acting differently though,

Thanks,

Michael