capturing yum update transaction to replicate on another machine

Unix & Linux Asked by Dan schneider on December 23, 2020

Looking for a way to capture a "yum update" on machine "A" and replicate the exact same actions on machine "B" (maybe at a later date after testing on machine "A"). We want to be able to patch dev, let the updates "bake in" for some length of time, then promote those same updates to production. I assume this is potentially possible by doing something like:

rpm -qa > installed-software.log
yum install $(cat installed-software.log)

But that doesn’t feel very efficient.

Add your own answers!

Related Questions

Bash tail -f with while-read and pipe hangs

1  Asked on November 23, 2021 by eric-larson


how to close a port on CentOS 7 server?

1  Asked on November 23, 2021 by user3486308


GNU date: truncate provided date-time and set provided hours

2  Asked on November 23, 2021 by basin


Using subversion on an CIFS mounted share

0  Asked on November 23, 2021 by monatsend


Install Unity 3d Without X

1  Asked on November 23, 2021


Why do we use linux bridge?

2  Asked on November 23, 2021 by jehutyy


TestDisk always return corrupted files

1  Asked on November 23, 2021 by user408830


GUI for NFTables, like fwbuilder

3  Asked on November 21, 2021 by andr-schild


Allow user to run PHP-FPM without password using sudoers

1  Asked on November 21, 2021 by sen-mccabe


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir