[CentOS] one-shot yum command to match rpms between systems?

Frank Cox theatre at melvilletheatre.com
Wed May 18 17:39:10 UTC 2016


On Wed, 18 May 2016 13:32:36 -0400
Matthew Miller wrote:

> ( rpm -qa --qf '%{name}.%{arch}\n' | sort | diff --old-line-format='install %
> L' --new-line-format='remove %L' -unchanged-line-format='' list.txt - ; echo
> run ) | yum shell

This looks pretty much like what I had in mind.

Great!  Thanks!

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com



More information about the CentOS mailing list